Template:Cr-rt/doc
Appearance
This is a documentation subpage for Template:Cr-rt. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Description
[edit]{{cr-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked men's 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
[edit]{{cr-rt|AUS}}
→ Australia{{cr-rt|Sri Lanka}}
→ Sri Lanka{{cr-rt|South Africa|1928}}
→ South Africa{{cr-rt|India|name=IND}}
→ IND
See also
[edit]- Template:Cr — for rendering the flag on the left
- Template:Cricon — for rendering the flag icon only
- Template:Cr19 — for men's under-19 national teams
- Template:Crw — for women's national teams
- Category:National cricket teams