Difference between revisions of "Template:Ish/doc"
Jump to navigation
Jump to search
imported>Andrwsc (start) |
imported>Jonesey95 |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
| + | ==Description== | ||
| + | <code><nowiki>{{ish|nation|variant|size=optional|name=optional}}</nowiki></code> | ||
| − | <includeonly> | + | 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== | ||
| + | *<code><nowiki>{{ish|Sweden}}</nowiki></code> → {{ish|Sweden}} | ||
| + | *<code><nowiki>{{ish|USA}}</nowiki></code> → {{ish|USA}} | ||
| + | *<code><nowiki>{{ish|Canada|1921}}</nowiki></code> → {{ish|Canada|1921}} | ||
| + | *<code><nowiki>{{ish|RUS|name=RUS}}</nowiki></code> → {{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>{{Sandbox other|| | ||
[[Category:Flag template system|{{PAGENAME}}]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
| − | </includeonly> | + | [[Category:Ice sledge hockey templates|{{PAGENAME}}]] |
| + | }}</includeonly> | ||
Latest revision as of 02:22, 3 June 2020
| 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