Difference between revisions of "Template:Tick/doc"
(Shamelessly copied from wikipedia.org and adapted for SL Wiki) |
(Changed from 'notice' to 'warning') |
||
Line 12: | Line 12: | ||
The {{para|color}} or {{para|colour}} parameter can be used to change the color of the ''✓'': | The {{para|color}} or {{para|colour}} parameter can be used to change the color of the ''✓'': | ||
{{ | {{warning|1=On the Second Life Wiki, for now, only the green (default) tick mark is available}} | ||
{| class="wikitable" | {| class="wikitable" |
Latest revision as of 07:23, 17 September 2022
This is a documentation subpage for Template:Tick. It contains usage information, categories and other content or metadata that is not part of the original template. |
This template inserts a green tick (check mark) inline in the text. It is often used as the opposite of {{Cross}}
.
Usage
This template inserts an inline green tick or check (✓) image, indicating agreement (or other affirmatives: acceptance, completion, etc.). It is not for use in articles.
The tick image defaults to 20px in size. To change the size, call with a pixel value as an argument, such as:
{{tick|30}}
The |color = or |colour = parameter can be used to change the color of the ✓:
On the Second Life Wiki, for now, only the green (default) tick mark is available
color codes | output | notes | |||
---|---|---|---|---|---|
green | grn | gn | the default | ||
lightgreen | lgreen | lgrn | lgn | 20px | |
red | rd | r | 20px | ||
darkred | dkred | drd | dr | 20px | |
pink | pnk | pk | 20px | ||
orange | or | o | 20px | ||
yellow | yel | y | 20px | ||
blue | blu | u | 20px | ||
lightblue | lblue | lblu | lb | 20px | |
cyan | cy | c | 20px | ||
purple | pur | pu | 20px | ||
brown | brn | bn | 20px | ||
black | blk | k | 20px | ||
grey | gray | gry | gy | 20px | is actually semi-transparent |
TemplateData
TemplateData for Tick
{
"description": "A template that inserts a green (by default) tick (check mark) inline in the text",
"params": {
"1": {
"label": "Size",
"description": "Sets the size of the tick mark",
"type": "number",
"default": "20",
"required": false
},
"color": {
"aliases": [ "colour" ],
"label": "Color",
"description": "Sets the color of the tick mark",
"type": "string",
"default": "green",
"required": false
}
},
"format": "inline"
}
See also
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.
Others
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:Check mark templates, for templates like these but without text
- Template:Icon, inline icon templates by shape and color
- Wikipedia:List of discussion templates, a more linear table of essentially the same set of templates
- Template:Resolved/See also, the smaller family of thread-level hatnote templates, similar to the above 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