Template:Check mark/doc
{{#ifeq:doc |doc
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Check mark | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
This template is used to create a "check mark" or "tick mark" of variable color and size.
Usage
Code | Result | ||
---|---|---|---|
{{Check mark}}
|
{{safesubst:#ifexist:media:{{{colour}}} check.svg | [[File:{{{colour}}} check.svg|{{safesubst:#if:|{{{1}}}|23}}px|Check mark|alt={{{colour}}} tick|link=]] | Green tick}} |
{{Check mark|15}}
|
{{safesubst:#ifexist:media:{{{colour}}} check.svg | [[File:{{{colour}}} check.svg|{{safesubst:#if:15|15|23}}px|Check mark|alt={{{colour}}} tick|link=]] | Green tick}} |
{{Check mark|color=Purple}}
|
{{safesubst:#ifexist:media:purple check.svg | Purple tick | Green tick}} |
{{Check mark|30|color=light green}}
|
{{safesubst:#ifexist:media:light green check.svg | light green tick | Green tick}} |
Size
The default image size is 23px. The first unnamed parameter can be used to override this default.
Colors
All colors with a corresponding image file, File:color check.svg, are supported
Color | Result | ||
---|---|---|---|
Light green | {{safesubst:#ifexist:media:light green check.svg | Light green tick | Green tick}} |
Olive green | {{safesubst:#ifexist:media:olive green check.svg | Olive green tick | Green tick}} |
Red | {{safesubst:#ifexist:media:red check.svg | Red tick | Green tick}} |
Yellow | {{safesubst:#ifexist:media:yellow check.svg | Yellow tick | Green tick}} |
Orange | {{safesubst:#ifexist:media:orange check.svg | Orange tick | Green tick}} |
Blue | {{safesubst:#ifexist:media:blue check.svg | Blue tick | Green tick}} |
Cornflower blue | {{safesubst:#ifexist:media:cornflower blue check.svg | Cornflower blue tick | Green tick}} |
Purple | {{safesubst:#ifexist:media:purple check.svg | Purple tick | Green tick}} |
Black | {{safesubst:#ifexist:media:black check.svg | Black tick | Green tick}} |
See also
Check and cross marks{{#invoke:Navbar|navbar}}
| |||||
---|---|---|---|---|---|
Check marks | Cross marks | ||||
{{check mark}} | {{safesubst:#ifexist:media:{{{colour}}} check.svg | [[File:{{{colour}}} check.svg|{{safesubst:#if:|{{{1}}}|23}}px|Check mark|alt={{{colour}}} tick|link=]] | Green tick}} | {{x mark big}} | Red X |
{{tick}} = {{{{#if: |subst:}}tick{{#if:20 ||20}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}} |
Yes | {{cross}} = {{{{#if: |subst:}}cross{{#if:20 ||20}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}} |
File:X mark.svg | ||
{{aye}} | Green tick | {{nay}} | Red X | ||
{{ya}} | rowspan="{{{rowspan}}}"}} |Yes | {{na}} | rowspan="{{{rowspan}}}"}} | No | ||
{{check mark-n}} | Yes | {{x mark-n}} | No | ||
{{y&}} | ✓ | {{n&}} | ✗ | ||
{{Chk}} | ✓ | {{xed box}} | (X'ed box) | ||
{{checked box}} | |||||
Other marks | |||||
{{n.b.}} | Nota bene | {{hmmm}} | ?? | ||
{{bang}} | File:Symbol opinion vote.svg | ||||
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").
|
{{#ifeq:doc |see also
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Check mark | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}{{#invoke:Navbar|navbar}}
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.
}}{{#ifeq: |yes
|}}
{{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}}
Others
}}{{#ifeq: |yes
|}}
{{safesubst:#invoke:aligned table|table}} {{safesubst:#invoke:aligned table|table}}
Multi-sign templates
The following templates implement several icons:
- {{AIV}} – used by Wikipedia:Administrator intervention against vandalism
- {{EP}} – used for servicing requests in edit-protected areas
- {{RFPP}} – used by Wikipedia:Requests for page protection
- {{UAA}} – used by Wikipedia:Usernames for administrator attention
- {{Smiley}} – used for informal communication purposes
Others
- Template:Resolved/See also, the smaller family of thread-level hatnote templates, similar to this but with a box around them. Any template above can be converted to one of those with {{Resbox}}
- Template:Table cell templates/doc, the family of table-specific templates that work only in tables
- Category:Image with comment templates
- Category:Resolution templates