Template:Cr
Jump to navigation
Jump to search
{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink = national cricket team | altvar = cricket
}}
{{cr|nation|variant|size=optional|name=optional}}
Description
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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 | 2 variant | 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 |
Test of raw TemplateData output:
Produces a flag icon attached to a wikilinked men's national cricket team article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Nation | 1 | Use either the name of the nation or a three-letter country code, as specified by ISO, IOC or FIFA (most should work). | String | required |
Flag variant | 2 variant | 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|AUS}}
→ Australia{{cr|Sri Lanka}}
→ Sri Lanka{{cr|South Africa|1928}}
→ South Africa{{cr|India|name=IND}}
→ IND
See also
- Template:Cr-rt — for rendering the flag on the right
- Template:Cr-big — for rendering a larger flag, with the team name underneath the flag
- Template:Crw — for women's national teams
- Template:Cr19 — for men's under-19 national teams
- Template:Cricon — for rendering the flag icon only
- Category:National cricket teams