Difference between revisions of "Template:Ih-rt"
Jump to navigation
Jump to search
imported>Djsasso |
imported>Djsasso (fix link for unified team) |
||
| Line 1: | Line 1: | ||
| − | {{country data {{{1}}} | + | {{#switch:{{{1}}}|Unified Team|EUN=[[Unified Team national ice hockey team|Unified Team]] [[File:Olympic_flag.svg|22x20px]]|#default={{country data {{{1}}} |
| flagright/core | | flagright/core | ||
| variant = {{{variant|{{{2|}}}}}} | | variant = {{{variant|{{{2|}}}}}} | ||
| Line 7: | Line 7: | ||
| altvar = ice hockey | | altvar = ice hockey | ||
| mw = men's | | mw = men's | ||
| − | }}<noinclude>{{documentation}}</noinclude> | + | }}}}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 01:25, 26 February 2018
{{country data {{{1}}} | flagright/core | variant = | size = | name = | altlink = men's national ice hockey team | altvar = ice hockey | mw = men's
}}
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 23x15px{{ih-rt|FIN}}→ Finland 23x15px{{ih-rt|Canada|1921}}→ Canada 23x15px{{ih-rt|URS|name=USSR}}→ Soviet Union 23x15px{{ih-rt|Czechoslovakia|name=TCH}}→ TCH 23x15px
See also
- Template:ih — for rendering the flag on the left
- Category:National ice hockey teams
| The above documentation is transcluded from Template:Ih-rt/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |