模板:Xmark/doc

来自决策链云智库

This template inserts a red X inline in the text. It is often used as the opposite of {{Tick}}.

Usage

This template inserts an inline red diagonal cross (X) image, indicating negation (or some other negatory message: rejection, failure, etc.). It is not for use in articles.

The cross image defaults to 20px in size. To change the size, call with a pixel value as an argument, such as:

{{cross|30}}

The |color= or |colour= parameter can be used to change the color of the X:

color codes output notes
red rd r X mark.svg the default
darkred dkred drd dr 文件:Dark Red x.svg
orange or o 文件:Orange x.svg
yellow yel y 文件:Dark yellow x.svg
black blk k 文件:Black x.svg
grey gray gry gy 文件:SemiTransBlack x.svg is actually semi-transparent

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Xmark in articles based on its TemplateData.

TemplateData for Xmark

A template that inserts a red (by default) X (diagonal cross) inline in the text

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
Size1

Sets the size of the X mark

默认值
20
数字可选
Colorcolorcolour

Sets the color of the X mark

默认值
red
字符串可选

See also

Check marks Cross marks
{{tick}} = {{tick|20}}
{{tick|colour=purple}}
{{tick|color=cyan}}
{{check mark}}
模板:Tick
模板:Tick
模板:Tick
模板:Check mark
{{cross}} = {{cross|20}}
{{模板:Xmark|colour=orange}}
{{模板:Xmark|color=black}}
☒N
模板:Str number/trimpxN
模板:Str number/trimpxN
{{aye}} and {{模板:Aye}} Green tickY {{nay}} and {{N}} 文件:Red x.svgN
{{ya}} 模板:Ya {{na}} 模板:Na
{{yan}} 模板:Yan {{nan}} 模板:Nan
{{check mark-n}} 模板:Check mark-n {{x mark-n}} 模板:X mark-n
{{y&}} 模板:Y& {{n&}} 模板:N&
{{Chk}} 模板:Chk    
{{yeac}} 模板:Yeac {{nayc}} 模板:Nayc
{{yeag}} 模板:Yeag {{nayg}} 模板:Nayg
{{Mby}} 模板:Mby {{nayd}} 模板:Nayd
{{checked box}}
{{ticked box}}
模板:Checked box {{unchecked box}}
{{unticked box}}
模板:Unchecked box
{{xed box}} 模板:Xed box {{unexed box}} 模板:Unexed box
{{question mark box}} 模板:Question mark box
Other marks
{{n.b.}} 模板:N.b. {{hmmm}} 模板:Hmmm
{{bang}} 模板:Bang {{idkc}} 模板:Idkc
{{equc}} 模板:Equc {{cloc}} 模板:Cloc
Most of the templates above are fully sortable in a class="sortable" table (each check mark is assigned an undisplayed "Y" and each cross mark an undisplayed "N").
This list:

Inline icon templates by shape and color

Any of the following inline, comment-level templates can be converted into {{Resolved}}-style hatnotes by using {{Resbox}} to put a box around the icon and text.

模板:Col-float

模板:Col-float-break

模板:Col-float-end

Others

Multi-sign templates

The following templates implement several icons:

Others