WineHQ

List of templates: Difference between revisions

(Add info on flag template.)
(correct syntax for warning template)
Line 11: Line 11:
|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: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>{{x mark|color|size}}</nowiki> || Inserts a unicode warning symbol in the color and size specified. Size is specified as a percentage relative to the current font size (by default 100%).|| {{warning}} {{warning|red|170}} {{warning|green|80}}
|Template:Warning || <nowiki>{{warning|color|size}}</nowiki> || Inserts a unicode warning symbol in the color and size specified. Size is specified as a percentage relative to the current font size (by default 100%).|| {{warning}} {{warning|red|170}} {{warning|green|80}}
|-
|-
|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}}

Revision as of 12:40, 11 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|color|size}} Inserts a unicode warning symbol in the color and size specified. Size is specified as a percentage relative to the current font size (by default 100%). redpx greenpx
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, and Warning templates is the default (no parameters specified). A country must be specified for the Flag template.

This page was last edited on 11 February 2016, at 12:40.