Difference between revisions of "Template:Ish/doc"
Jump to navigation
Jump to search
imported>Bib (category) |
imported>AaronWikia (Update template documentation using AWB.) |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
| + | ==Description== | ||
| + | <tt><nowiki>{{ish|nation|variant|size=optional|name=optional}}</nowiki></tt> | ||
| + | |||
| + | Produces a flag icon attached to a wikilinked national ice sledge hockey team article. | ||
| + | ;Parameters | ||
| + | *''nation'' — Use either the name of the nation or the three-letter country code as used by the [[International Ice Hockey Federation|IIHF]] | ||
| + | *''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== | ||
| + | *<tt><nowiki>{{ish|Sweden}}</nowiki></tt> → {{ish|Sweden}} | ||
| + | *<tt><nowiki>{{ish|USA}}</nowiki></tt> → {{ish|USA}} | ||
| + | *<tt><nowiki>{{ish|Canada|1921}}</nowiki></tt> → {{ish|Canada|1921}} | ||
| + | *<tt><nowiki>{{ish|RUS|name=RUS}}</nowiki></tt> → {{ish|RUS|name=RUS}} | ||
| + | |||
| + | ==See also== | ||
| + | *[[Template:ish-rt]] — for rendering the flag on the right | ||
| + | *[[Template:ih]] — for men's national teams | ||
| + | *[[Template:ihj]] — for men's junior national teams | ||
| + | *[[Template:ih18]] — for men's under-18 national teams | ||
| + | *[[Template:ihw]] — for women's national teams | ||
| + | *[[:Category:National ice sledge hockey teams]] | ||
<includeonly> | <includeonly> | ||
Revision as of 02:12, 15 January 2018
| 40px | This is a documentation subpage for Template:Ish. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ish|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national ice sledge hockey team article.
- Parameters
- nation — Use either the name of the nation or the three-letter country code as used by the IIHF
- 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
- {{ish|Sweden}} → 23x15px Sweden
- {{ish|USA}} → 23x15px United States
- {{ish|Canada|1921}} →
Canada - {{ish|RUS|name=RUS}} →
RUS
See also
- Template:ish-rt — for rendering the flag on the right
- Template:ih — for men's national teams
- Template:ihj — for men's junior national teams
- Template:ih18 — for men's under-18 national teams
- Template:ihw — for women's national teams
- Category:National ice sledge hockey teams