Difference between revisions of "Template:Crw-rt/doc"
Jump to navigation
Jump to search
imported>Juwe |
imported>Juwe |
||
| Line 18: | Line 18: | ||
*<tt><nowiki>{{crw-rt|India|name=IND}}</nowiki></tt> → {{crw-rt|India|name=IND}} | *<tt><nowiki>{{crw-rt|India|name=IND}}</nowiki></tt> → {{crw-rt|India|name=IND}} | ||
| − | + | == See also == | |
*[[Template:crw]] — for rendering the flag on the left | *[[Template:crw]] — for rendering the flag on the left | ||
Revision as of 15:04, 13 June 2009
| 40px | 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 File:Flag of Australia (converted).svg
- {{crw-rt|Sri Lanka}} → Sri Lanka

- {{crw-rt|South Africa|1928}} → South Africa

- {{crw-rt|India|name=IND}} → IND

See also
- Template:crw — for rendering the flag on the left
- Template:cr — for men's teams
- Category:National cricket teams