Template:Cr
Jump to navigation
Jump to search
{{country data {{{1}}} | flag link/core | variant = | size = | name = | altlink = national cricket team | altvar = cricket
}}
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| Warning | This template is used on approximately 5,000 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. |
{{cr|nation|variant|size=optional|name=optional}}
Description
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Cr in articles based on its TemplateData.
TemplateData for Cr
Produces a flag icon attached to a wikilinked men's national cricket team article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Nation | 1 | String | required | |
| Flag variant | 2variant | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates. | String | optional |
| Image size | size | Can be used to change the flag icon size (use sparingly!) | Unknown | optional |
| Link text | name | Can be used to change the wikilink display text. | Line | optional |
Examples
{{cr|IND}}→ File:Flag of India.svg India{{cr|Sri Lanka}}→ File:Flag of Sri Lanka.svg Sri Lanka{{cr|South Africa|1928}}→ File:Flag of South Africa (1928–1982).svg South Africa{{cr|Australia|name=AUS}}→ File:Flag of Australia (converted).svg AUS
See also
- Template:Cr-rt — for rendering the flag on the right
- Template:Crw — for women's national teams
- Template:Cr19 — for men's under-19 national teams
- Template:Crw19 — for women's under-19 national teams
- Template:Cricon — for rendering the flag icon only
- Category:National cricket teams