Difference between revisions of "Template:Crw-rt/doc"
Jump to navigation
Jump to search
imported>Andrwsc (no "terms breached") |
imported>Waterhogboy (Added link to U-19 template) |
||
| Line 20: | Line 20: | ||
*[[Template:crw]] — for rendering the flag on the left | *[[Template:crw]] — for rendering the flag on the left | ||
*[[Template:cr]] — for men's teams | *[[Template:cr]] — for men's teams | ||
| + | *[[Template:cr19]] — for Under-19 teams | ||
*[[:Category:National cricket teams]] | *[[:Category:National cricket teams]] | ||
Revision as of 15:57, 9 December 2010
| File:Edit-copy green.svg | This is a documentation subpage for Template:Crw-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{crw-rt|nation|variant|size=optional|name=optional}}
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
- {{crw-rt|AUS}} → Australia 23x15px
- {{crw-rt|Sri Lanka}} → Sri Lanka File:Flag of Sri Lanka.svg
- {{crw-rt|South Africa|1928}} → South Africa File:Flag of South Africa (1928-1982).svg
- {{crw-rt|India|name=IND}} → IND File:Flag of India.svg
See also
- Template:crw — for rendering the flag on the left
- Template:cr — for men's teams
- Template:cr19 — for Under-19 teams
- Category:National cricket teams