Difference between revisions of "Template:Crw-rt/doc"
Jump to navigation
Jump to search
imported>Juwe |
imported>Juwe |
||
| Line 20: | Line 20: | ||
=== See also === | === See also === | ||
| − | *[[Template:crw]] — for | + | *[[Template:crw]] — for rendering the flag on the left |
*[[Template:cr]] — for men's teams | *[[Template:cr]] — for men's teams | ||
*[[:Category:National cricket teams]] | *[[:Category:National cricket teams]] | ||
Revision as of 14:55, 13 June 2009
| 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}}
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
- {{crw-rt|AUS}} → Australia

- {{crw-rt|Sri Lanka}} → Sri Lanka 23x15px
- {{crw-rt|South Africa|1928}} → South Africa

- {{crw-rt|India|name=IND}} → IND 23x15px
See also
- Template:crw — for rendering the flag on the left
- Template:cr — for men's teams
- Category:National cricket teams