Difference between revisions of "Template:Ih-rt/doc"
Jump to navigation
Jump to search
imported>Andrwsc (update template documentation using AWB) |
imported>Theilert m (+no) |
||
| Line 24: | Line 24: | ||
[[Category:Ice hockey team templates|{{PAGENAME}}]] | [[Category:Ice hockey team templates|{{PAGENAME}}]] | ||
[[Category:Flag template system|{{PAGENAME}}]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
| + | |||
| + | [[no:Mal:Ishockeyflagg-h]] | ||
</includeonly> | </includeonly> | ||
Revision as of 00:24, 25 February 2010
| This is a documentation subpage for Template:Ih-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ih-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national ice hockey team article. Similar to Template:Ih, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.
- 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-rt|Sweden}} → Sweden

- {{ih-rt|CZE}} → Czech Republic

- {{ih-rt|Canada|1921}} → Canada

- {{ih-rt|URS|name=USSR}} → Soviet Union

See also
- Template:ih — for rendering the flag on the left
- Category:National ice hockey teams