Difference between revisions of "Template:Cricon/doc"
Jump to navigation
Jump to search
imported>Bahnfrend (→See also: add link) |
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 3: | Line 3: | ||
==Description== | ==Description== | ||
| − | < | + | <kbd><nowiki>{{cricon|nation|variant|size=optional}}</nowiki></kbd> |
Produces a flag icon (only) that links to national cricket team article. This is an alternative to {{tl|cr}}, which produces a link to the named article ''after'' the icon. | Produces a flag icon (only) that links to national cricket team article. This is an alternative to {{tl|cr}}, which produces a link to the named article ''after'' the icon. | ||
| Line 13: | Line 13: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<kbd><nowiki>{{cricon|AUS}}</nowiki></kbd> → {{cricon|AUS}} |
| − | *< | + | *<kbd><nowiki>{{cricon|Ireland}}</nowiki></kbd> → {{cricon|Ireland}} |
| − | *< | + | *<kbd><nowiki>{{cricon|West Indies}}</nowiki></kbd> → {{cricon|West Indies}} |
| − | *< | + | *<kbd><nowiki>{{cricon|South Africa|1928}}</nowiki></kbd> → {{cricon|South Africa|1928}} |
==See also== | ==See also== | ||
| Line 26: | Line 26: | ||
*[[:Category:National cricket teams]] | *[[:Category:National cricket teams]] | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here and interwikis go in Wikidata. --> | <!-- Categories go here and interwikis go in Wikidata. --> | ||
[[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:15, 24 April 2020
| This is a documentation subpage for Template:Cricon. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{cricon|nation|variant|size=optional}}
Produces a flag icon (only) that links to national cricket team article. This is an alternative to {{cr}}, which produces a link to the named article after the icon.
- 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!)
Examples
See also
- Template:criconw – women's teams equivalent of this template
- Template:cr
- 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