Difference between revisions of "Template:Ihj/doc"
Jump to navigation
Jump to search
imported>Jonesey95 |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <code><nowiki>{{ihj|nation|variant|size=optional|name=optional}}</nowiki></code> |
Produces a flag icon attached to a wikilinked national junior ice hockey team article. | Produces a flag icon attached to a wikilinked national junior ice hockey team article. | ||
| Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<code><nowiki>{{ihj|Sweden}}</nowiki></code> → {{ihj|Sweden}} |
| − | *< | + | *<code><nowiki>{{ihj|USA}}</nowiki></code> → {{ihj|USA}} |
| − | *< | + | *<code><nowiki>{{ihj|Canada|1921}}</nowiki></code> → {{ihj|Canada|1921}} |
| − | *< | + | *<code><nowiki>{{ihj|URS|name=USSR}}</nowiki></code> → {{ihj|URS|name=USSR}} |
==See also== | ==See also== | ||
*[[Template:ihj-rt]] — for rendering the flag on the right | *[[Template:ihj-rt]] — for rendering the flag on the right | ||
| − | *[[Template:ih]] | + | *[[Template:ih]] — for men's senior national teams |
| − | *[[Template:ih18]] | + | *[[Template:ih18]] — for men's under-18 national teams |
*[[Template:ihw]] — for women's national teams | *[[Template:ihw]] — for women's national teams | ||
*[[:Category:National ice hockey teams]] | *[[:Category: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:16, 3 June 2020
| This is a documentation subpage for Template:Ihj. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ihj|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national junior 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
{{ihj|Sweden}}→
Sweden{{ihj|USA}}→
United States{{ihj|Canada|1921}}→
Canada{{ihj|URS|name=USSR}}→
Soviet Union
See also
- Template:ihj-rt — for rendering the flag on the right
- Template:ih — for men's senior national teams
- Template:ih18 — for men's under-18 national teams
- Template:ihw — for women's national teams
- Category:National ice hockey teams