Template:Ih/doc
< Template:Ih
Revision as of 21:16, 2 June 2020 by Wikipedia>Jonesey95 (Fix Linter errors using AutoEd)
This is a documentation subpage for Template:Ih. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ih|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked 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
{{ih|Sweden}}
→ Sweden{{ih|FIN}}
→ Finland{{ih|Canada|1921}}
→ Canada{{ih|URS|name=USSR}}
→ Soviet Union{{ih|Czechoslovakia|name=TCH}}
→ TCH
See also
- Template:ih-rt — for rendering the flag on the right
- 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 hockey teams