Difference between revisions of "Template:Cricon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(→‎Examples: add example showing variant parameter)
imported>Bahnfrend
(→‎See also: add link)
Line 19: Line 19:
  
 
==See also==
 
==See also==
 +
*[[Template:criconw]] – women's teams equivalent of this template
 
*[[Template:cr]]
 
*[[Template:cr]]
 
*[[Template:cr-rt]] — for rendering the flag on the right
 
*[[Template:cr-rt]] — for rendering the flag on the right

Revision as of 03:14, 29 January 2017

Description

{{cricon|nation|variant|size=optional}}

Produces a flag icon (only) that links to national cricket team article. This is an alternative to {{cr}}, which produces a link to the named article after the icon.

Parameters
  • nation — Use either the name of the nation or a three-letter country code, as specified by ISO, IOC or FIFA (most should work)
  • variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
  • size (optional) — Can be used to change the flag icon size (use sparingly!)

Examples

  • {{cricon|AUS}}Australia
  • {{cricon|Ireland}}Ireland
  • {{cricon|West Indies}}West Indies Cricket Board
  • {{cricon|South Africa|1928}}South Africa

See also