Difference between revisions of "Template:Cr/doc"
Jump to navigation
Jump to search
imported>Ahmad Nauman |
imported>Ahmad Nauman |
||
| Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
*<tt><nowiki>{{cr|AUS}}</nowiki></tt> → {{cr|AUS}} | *<tt><nowiki>{{cr|AUS}}</nowiki></tt> → {{cr|AUS}} | ||
| + | *<tt><nowiki>{{cr|India|name=IND}}</nowiki></tt> → {{cr|India|name=IND}} | ||
| + | *<tt><nowiki>{{cr|Pakistan|name=PAK}}</nowiki></tt> → {{cr|Pakistan|name=PAK}} | ||
*<tt><nowiki>{{cr|Sri Lanka}}</nowiki></tt> → {{cr|Sri Lanka}} | *<tt><nowiki>{{cr|Sri Lanka}}</nowiki></tt> → {{cr|Sri Lanka}} | ||
*<tt><nowiki>{{cr|South Africa|1928}}</nowiki></tt> → {{cr|South Africa|1928}} | *<tt><nowiki>{{cr|South Africa|1928}}</nowiki></tt> → {{cr|South Africa|1928}} | ||
| − | |||
| − | |||
==See also== | ==See also== | ||
Revision as of 05:49, 17 November 2011
| This is a documentation subpage for Template:Cr. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{cr|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national cricket team article.
- 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|AUS}} → 23x15px Australia
- {{cr|India|name=IND}} → File:Flag of India.svg IND
- {{cr|Pakistan|name=PAK}} →
PAK - {{cr|Sri Lanka}} →
Sri Lanka - {{cr|South Africa|1928}} →
South Africa
See also
- Template:cr-rt — for rendering the flag on the right
- Template:crw — for women's teams
- Template:cr19 — for Under-19 teams
- Category:National cricket teams