Difference between revisions of "Template:Ih-rt"
Jump to navigation
Jump to search
imported>Kedarus (←Created page with '{{country data {{{1}}} | national sports team right | sport = ice hockey | countryname = {{{1}}} | variant = {{{2|}}} | size = {{{size|}}} | name = {{{name|}}} }}<n...') |
imported>Andrwsc (update to work) |
||
| Line 1: | Line 1: | ||
{{country data {{{1}}} | {{country data {{{1}}} | ||
| − | | | + | | country flaglink right |
| − | | | + | | variant = {{{variant|{{{2|}}}}}} |
| − | |||
| − | | | ||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| − | }}<noinclude> | + | | altlink = national ice hockey team |
| − | </noinclude> | + | | altvar = ice hockey |
| + | }}<noinclude>{{template doc}}</noinclude> | ||
Revision as of 06:33, 27 August 2007
{{country data {{{1}}} | country flaglink right | variant = | size = | name = | altlink = national ice hockey team | altvar = ice hockey
}}
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}}→ Template:Country flaglink right{{ih-rt|FIN}}→ Template:Country flaglink right{{ih-rt|Canada|1921}}→ Template:Country flaglink right{{ih-rt|URS|name=USSR}}→ Template:Country flaglink right{{ih-rt|Czechoslovakia|name=TCH}}→ Template:Country flaglink right
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. |