Difference between revisions of "Template:Cr19/doc"
Jump to navigation
Jump to search
imported>Waterhogboy (←Created page with '{{Documentation subpage}} ==Description== <tt><nowiki>{{cr19|nation|variant|size=optional|name=optional}}</nowiki></tt> Produces a flag icon attached to a wikilin...') |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 2: | Line 2: | ||
==Description== | ==Description== | ||
| − | < | + | <kbd><nowiki>{{cr19|nation|variant|size=optional|name=optional}}</nowiki></kbd> |
Produces a flag icon attached to a wikilinked Under-19 cricket team article. | Produces a flag icon attached to a wikilinked Under-19 cricket team article. | ||
| Line 13: | Line 13: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<kbd><nowiki>{{cr19|AUS}}</nowiki></kbd> → {{cr19|AUS}} |
| − | *< | + | *<kbd><nowiki>{{cr19|Sri Lanka}}</nowiki></kbd> → {{cr19|Sri Lanka}} |
| − | *< | + | *<kbd><nowiki>{{cr19|South Africa|1928}}</nowiki></kbd> → {{cr19|South Africa|1928}} |
| − | *< | + | *<kbd><nowiki>{{cr19|India|name=IND}}</nowiki></kbd> → {{cr19|India|name=IND}} |
==See also== | ==See also== | ||
| Line 26: | Line 26: | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Cricket templates|{{PAGENAME}}]] | [[Category:Cricket templates|{{PAGENAME}}]] | ||
[[Category:Flag template system|{{PAGENAME}}]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 22:10, 24 April 2020
| This is a documentation subpage for Template:Cr19. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{cr19|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked Under-19 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
- {{cr19|AUS}} → File:Flag of Australia (converted).svg Australia
- {{cr19|Sri Lanka}} → 23x15px Sri Lanka
- {{cr19|South Africa|1928}} → File:Flag of South Africa (1928-1982).svg South Africa
- {{cr19|India|name=IND}} → 23x15px IND
See also
- Template:cr19-rt — for rendering the flag on the right
- Template:cr — for national cricket teams
- Template:crw — for women's teams
- Category:Under-19 cricket teams