Template:Ihj/doc
From The Right Wiki
Jump to navigationJump to search
File:Edit-copy green.svg | This is a documentation subpage for Template:Ihj. It may contain 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}}
→ File:Flag of Sweden.svg Sweden{{ihj|USA}}
→ File:Flag of the United States.svg United States{{ihj|Canada|1921}}
→ File:Canadian Red Ensign (1921–1957).svg Canada{{ihj|URS|name=USSR}}
→ File:Flag of the Soviet Union.svg 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