Difference between revisions of "Template:Ih-rt"
Jump to navigation
Jump to search
imported>Andrwsc (add mw parameter) |
imported>Andrwsc (more common article suffix) |
||
| Line 4: | Line 4: | ||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| − | | altlink = national ice hockey team | + | | altlink = men's national ice hockey team |
| altvar = ice hockey | | altvar = ice hockey | ||
| mw = men's | | mw = men's | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 21:02, 24 April 2009
{{country data {{{1}}} | country flaglink right | 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}}→ 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. |