(Add Template:Warning to list) |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
!Examples* | !Examples* | ||
|- | |- | ||
|Template:Check || <nowiki>{{check|color|size}}</nowiki> || Inserts a unicode check mark in the color and size specified. || {{check}}{{check|green| | |Template:Check || <nowiki>{{check|color|size}}</nowiki> || Inserts a unicode check mark in the color and size specified. Size is specified as a percentage relative to the current font size (by default 100%).|| {{check}} {{check|green|150}} {{check|red|80}} | ||
|- | |- | ||
|Template:X mark || <nowiki>{{x mark|color|size}}</nowiki> || Inserts a unicode x mark in the color and size specified. || {{x mark}}{{x mark|red| | |Template:X mark || <nowiki>{{x mark|color|size}}</nowiki> || Inserts a unicode x mark in the color and size specified. Size is specified as a percentage relative to the current font size (by default 100%).|| {{x mark}} {{x mark|red|150}} {{x mark|blue|80}} | ||
|- | |- | ||
|Template:Warning || <nowiki>{{ | |Template:Warning || <nowiki>{{warning|size}}</nowiki> || Inserts a warning icon from the Tango project set in the size specified. Size is specified in px (by default 18px}.|| {{warning}} {{warning|28}} | ||
|- | |||
|Template:Info || <nowiki>{{info|size}}</nowiki> || Inserts an info icon from the Tango project set in the size specified. Size is specified in px (by default 18px). || {{info}} {{info|28}} | |||
|- | |||
|Template:Flag || <nowiki>{{flag|country}}</nowiki> || Inserts a 22px bordered thumbnail of the specified country's flag. Images are from Wikimedia Commons. || {{flag|France}} {{flag|Japan}} {{flag|Spain}} | |||
|} | |||
<nowiki>*</nowiki>The first example for the Check, X mark, Warning, and Info templates is the default (no parameters specified). A country must be specified for the Flag template. | |||
{|class="wikitable" | |||
|+Page and section status notices | |||
!Template Name | |||
!Syntax | |||
!Example | |||
|- | |||
|Template:404 || <nowiki>{{404}}</nowiki> || {{404}} | |||
|- | |||
|Template:Outdated || <nowiki>{{outdated}}</nowiki> || {{outdated}} | |||
|- | |||
|Template:Wip || <nowiki>{{wip}}</nowiki> || {{wip}} | |||
|} | |} | ||
[[Category:Wiki]] | [[Category:Wiki]] |
Latest revision as of 20:49, 26 February 2016
Below are the templates available on this wiki and their usage:
Template Name | Syntax | What it does | Examples* |
---|---|---|---|
Template:Check | {{check|color|size}} | Inserts a unicode check mark in the color and size specified. Size is specified as a percentage relative to the current font size (by default 100%). | ✔ ✔ ✔ |
Template:X mark | {{x mark|color|size}} | Inserts a unicode x mark in the color and size specified. Size is specified as a percentage relative to the current font size (by default 100%). | ✖ ✖ ✖ |
Template:Warning | {{warning|size}} | Inserts a warning icon from the Tango project set in the size specified. Size is specified in px (by default 18px}. | |
Template:Info | {{info|size}} | Inserts an info icon from the Tango project set in the size specified. Size is specified in px (by default 18px). | |
Template:Flag | {{flag|country}} | Inserts a 22px bordered thumbnail of the specified country's flag. Images are from Wikimedia Commons. |
*The first example for the Check, X mark, Warning, and Info templates is the default (no parameters specified). A country must be specified for the Flag template.