Difference between revisions of "Template:Ihw/doc"
Jump to navigation
Jump to search
imported>Jonesey95 |
|||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <code><nowiki>{{ihw|nation|variant|size=optional|name=optional}}</nowiki></code> |
Produces a flag icon attached to a wikilinked women's national ice hockey team article. | Produces a flag icon attached to a wikilinked women's national ice hockey team article. | ||
;Parameters | ;Parameters | ||
*''nation'' — Use either the name of the nation or the three-letter country code as used by the [[International Ice Hockey Federation|IIHF]] | *''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. | + | *''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!) | *''size'' (optional) — Can be used to change the flag icon size (use sparingly!) | ||
*''name'' (optional) — Can be used to change the wikilink display text | *''name'' (optional) — Can be used to change the wikilink display text | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<code><nowiki>{{ihw|Sweden}}</nowiki></code> → {{ihw|Sweden}} |
| − | *< | + | *<code><nowiki>{{ihw|USA}}</nowiki></code> → {{ihw|USA}} |
| − | *< | + | *<code><nowiki>{{ihw|Canada|1921}}</nowiki></code> → {{ihw|Canada|1921}} |
==See also== | ==See also== | ||
*[[Template:ihw-rt]] — for rendering the flag on the right | *[[Template:ihw-rt]] — for rendering the flag on the right | ||
*[[Template:ih]] — for men's national teams | *[[Template:ih]] — for men's national teams | ||
| − | *[[Template: | + | *[[Template:ihw18]] — for women's under-18 national teams |
*[[:Category:Women's national ice hockey teams]] | *[[:Category:Women's national ice hockey teams]] | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Ice hockey team templates|{{PAGENAME}}]] | [[Category:Ice hockey team templates|{{PAGENAME}}]] | ||
[[Category:Flag template system|{{PAGENAME}}]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 02:15, 3 June 2020
| This is a documentation subpage for Template:Ihw. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ihw|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked women's national ice 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
{{ihw|Sweden}}→
Sweden{{ihw|USA}}→
United States{{ihw|Canada|1921}}→
Canada
See also
- Template:ihw-rt — for rendering the flag on the right
- Template:ih — for men's national teams
- Template:ihw18 — for women's under-18 national teams
- Category:Women's national ice hockey teams