Difference between revisions of "Template:Crw/doc"
Jump to navigation
Jump to search
imported>DC Assam (Undid revision 514468758 by Dipankar Chetia (talk)) |
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 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <kbd><nowiki>{{crw|nation|variant|size=optional|name=optional}}</nowiki></kbd> |
Produces a flag icon attached to a wikilinked national cricket team article. | Produces a flag icon attached to a wikilinked national cricket team article. | ||
| Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<kbd><nowiki>{{crw|AUS}}</nowiki></kbd> → {{crw|AUS}} |
| − | *< | + | *<kbd><nowiki>{{crw|Sri Lanka}}</nowiki></kbd> → {{crw|Sri Lanka}} |
| − | *< | + | *<kbd><nowiki>{{crw|South Africa|1928}}</nowiki></kbd> → {{crw|South Africa|1928}} |
| − | *< | + | *<kbd><nowiki>{{crw|India|name=IND}}</nowiki></kbd> → {{crw|India|name=IND}} |
== See also == | == See also == | ||
| Line 23: | Line 23: | ||
*[[:Category:National cricket teams]] | *[[:Category:National cricket teams]] | ||
| − | <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:17, 24 April 2020
| This is a documentation subpage for Template:Crw. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{crw|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
- {{crw|AUS}} →
Australia - {{crw|Sri Lanka}} →
Sri Lanka - {{crw|South Africa|1928}} →
South Africa - {{crw|India|name=IND}} →
IND
See also
- Template:crw-rt — for rendering the flag on the right
- Template:cr — for men's teams
- Template:cr19 — for Under-19 teams
- Category:National cricket teams