WineHQ

List of templates: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
|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: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|color|size}}</nowiki> || Inserts a unicode information source symbol in the color and size specified. Size is specified as a percentage relative to the current font size (default 125%}} || {{info}} {{info|DodgerBlue|170}} {{info|green|100}}
|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}}
|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}}
Line 28: Line 28:
|-
|-
|Template:Outdated || <nowiki>{{outdated}}</nowiki> || {{outdated}}
|Template:Outdated || <nowiki>{{outdated}}</nowiki> || {{outdated}}
|-
|Template:Wip || <nowiki>{{wip}}</nowiki> || {{wip}}
|}
|}



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.

Page and section status notices
Template Name Syntax Example
Template:404 {{404}}
This section contains one or more dead external links. Please help out by updating.
Template:Outdated {{outdated}}
This page or section is outdated in one or more areas. Possible discussion may be found on the talk page. Please update to reflect current information.
Template:Wip {{wip}}
Work in progress: This page is currently undergoing extensive revision. External links to specific parts of this page may now be broken due to the section having been edited, moved, merged with another section, or removed altogether. Consult the table of contents to find the section you are looking for. There may be related discussion on the talk page.
This page was last edited on 26 February 2016, at 20:49.