Revision as of 08:51, 3 April 2009 view sourceWild8oar (talk | contribs)Extended confirmed users6,117 edits didn't work← Previous edit | Revision as of 15:53, 3 April 2009 view source Andrwsc (talk | contribs)Extended confirmed users74,784 editsm Protected Template:Cr: Highly visible template ( (indefinite) (indefinite))Next edit → |
(No difference) |
Revision as of 15:53, 3 April 2009
Template documentation[view] [edit] [history] [purge]This template is used on approximately 4,800 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 | Use either the name of the nation or a three-letter country code, as specified by ISO, IOC or ICC (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 |
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 ICC (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|IND}}
→ Template:Country flaglink{{cr|Sri Lanka}}
→ Template:Country flaglink{{cr|South Africa|1928}}
→ Template:Country flaglink{{cr|Australia|name=AUS}}
→ Template:Country flaglink
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
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: