Difference between revisions of "Template:Cr-rt"
Jump to navigation
Jump to search
imported>Andrwsc (update template documentation using AWB) |
imported>Juwe |
||
| Line 1: | Line 1: | ||
| − | {{country data {{{1}}} | + | <includeonly>{{country data {{{1}}} |
| country flaglink right | | country flaglink right | ||
| variant = {{{variant|{{{2|}}}}}} | | variant = {{{variant|{{{2|}}}}}} | ||
| Line 6: | Line 6: | ||
| altlink = national cricket team | | altlink = national cricket team | ||
| altvar = cricket | | altvar = cricket | ||
| − | }}<noinclude>{{documentation}}</noinclude> | + | }}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 14:59, 13 June 2009
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Description
{{cr-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national cricket team article. Similar to Template:Cr, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.
- 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-rt|AUS}} → Template:Country flaglink right
- {{cr-rt|Sri Lanka}} → Template:Country flaglink right
- {{cr-rt|South Africa|1928}} → Template:Country flaglink right
- {{cr-rt|India|name=IND}} → Template:Country flaglink right
See also
- Template:cr — for rendering the flag on the left
- Template:crw — for women's teams
- Template:cr19 — for Under-19 teams
- Category:National cricket teams
| The above documentation is transcluded from Template:Cr-rt/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |