WineHQ

List of templates: Difference between revisions

(correct syntax for warning template)
No edit summary
Line 14: Line 14:
|-
|-
|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}}
|}
{|class="wikitable"
|+Page and section status notices
!Template Name
!Syntax
!Example
|-
|Template:404 || <nowiki>{{404}}</nowiki> || {{404}}
|}
|}
<nowiki>*</nowiki>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.
<nowiki>*</nowiki>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.

Revision as of 20:30, 24 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.
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.

*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 24 February 2016, at 20:30.