Difference between revisions of "Template:Ihj-rt/doc"
Jump to navigation
Jump to search
imported>Shootmaster 44 (←Created page with '{{documentation subpage}} ==Description== <tt><nowiki>{{ihj-rt|nation|variant|size=optional|name=optional}}</nowiki></tt> Produces a flag icon attached to a wikili...') |
|||
| Line 13: | Line 13: | ||
==Examples== | ==Examples== | ||
*<tt><nowiki>{{ihj-rt|Sweden}}</nowiki></tt> → {{ihj-rt|Sweden}} | *<tt><nowiki>{{ihj-rt|Sweden}}</nowiki></tt> → {{ihj-rt|Sweden}} | ||
| − | *<tt><nowiki>{{ihj-rt| | + | *<tt><nowiki>{{ihj-rt|USA}}</nowiki></tt> → {{ihj-rt|USA}} |
*<tt><nowiki>{{ihj-rt|Canada|1921}}</nowiki></tt> → {{ihj-rt|Canada|1921}} | *<tt><nowiki>{{ihj-rt|Canada|1921}}</nowiki></tt> → {{ihj-rt|Canada|1921}} | ||
*<tt><nowiki>{{ihj-rt|URS|name=USSR}}</nowiki></tt> → {{ihj-rt|URS|name=USSR}} | *<tt><nowiki>{{ihj-rt|URS|name=USSR}}</nowiki></tt> → {{ihj-rt|URS|name=USSR}} | ||
Revision as of 23:28, 25 January 2014
| This is a documentation subpage for Template:Ihj-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ihj-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national junior ice hockey team article. Similar to Template:Ihj, 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
- {{ihj-rt|Sweden}} → Sweden

- {{ihj-rt|USA}} → United States

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

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

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