Difference between revisions of "Template:Ih18/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Jonesey95 |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <code><nowiki>{{ih18|nation|variant|size=optional|name=optional}}</nowiki></code> |
Produces a flag icon attached to a wikilinked men's national under-18 ice hockey team article. | Produces a flag icon attached to a wikilinked men's national under-18 ice hockey team article. | ||
| Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<code><nowiki>{{ih18|Sweden}}</nowiki></code> → {{ih18|Sweden}} |
| − | *< | + | *<code><nowiki>{{ih18|USA}}</nowiki></code> → {{ih18|USA}} |
| − | *< | + | *<code><nowiki>{{ih18|Canada|1921}}</nowiki></code> → {{ih18|Canada|1921}} |
| − | *< | + | *<code><nowiki>{{ih18|URS|name=USSR}}</nowiki></code> → {{ih18|URS|name=USSR}} |
==See also== | ==See also== | ||
Latest revision as of 02:16, 3 June 2020
| This is a documentation subpage for Template:Ih18. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ih18|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked men's national under-18 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
{{ih18|Sweden}}→
Sweden{{ih18|USA}}→
United States{{ih18|Canada|1921}}→
Canada{{ih18|URS|name=USSR}}→
Soviet Union
See also
- Template:ih18-rt — for rendering the flag on the right
- Template:ih — for men's national teams
- Template:ihj — for men's junior national teams
- Template:ihw18 — for women's under-18 national teams