Template:Cr/doc

From Dodge Wiki
Jump to navigation Jump to search

Description

{{cr|nation|variant|size=optional|name=optional}}

NB: Excessive use of flag icons breaches the terms of WP:FLAG

Produces a flag icon attached to a wikilinked national cricket team article.

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!)
  • name (optional) — Can be used to change the wikilink display text

Examples

  • {{cr|AUS}} → Template:Country flaglink
  • {{cr|Sri Lanka}} → Template:Country data Sri Lanka
  • {{cr|South Africa|1928}} → Template:Country data South Africa
  • {{cr|India|name=IND}} → Template:Country flaglink

See also

  • Template:cr-rt — for rendering the flag on the right
  • Category:National cricket teams