Difference between revisions of "Template:Ih"
imported>Andrwsc (more common article suffix) |
imported>Djsasso |
||
| Line 1: | Line 1: | ||
| − | {{country data {{{1}}} | + | {{ifor |
| − | | country flaglink | + | |test1 = Unified Team |
| − | | variant = {{{variant|{{{2|}}}}}} | + | |var1 = {{{1}}} |
| − | | size = {{{size|}}} | + | |then = [[Image:{{country_flag_IOC_alias_{{{1}}}|22x20px|border|alt=|link=]] [[Unified Team at the 1992 Winter Olympics|Unified Team]] |
| − | | name = {{{name|}}} | + | |else = {{country data {{{1}}}| country flaglink | variant = {{{variant|{{{2|}}}}}} | size = {{{size|}}} | name = {{{name|}}} | altlink = men's national ice hockey team | altvar = ice hockey | mw = men's}}<noinclude>{{documentation}}</noinclude> |
| − | | altlink = men's national ice hockey team | + | |}} |
| − | | altvar = ice hockey | ||
| − | | mw = men's | ||
| − | }}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 16:28, 1 October 2009
{{ifor |test1 = Unified Team |var1 = {{{1}}} |then = [[Image:{{country_flag_IOC_alias_{{{1}}}|22x20px|border|alt=|link=]] Unified Team
|else = {{country data {{{1}}}| country flaglink | variant = | size = | name = | altlink = men's national ice hockey team | altvar = ice hockey | mw = men's}}
Description
{{ih|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national ice hockey team article.
- 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|Sweden}}→ {{ifor
|test1 = Unified Team |var1 = Sweden |then = [[Image:Template:Country flag IOC alias Sweden
{{ih|FIN}}→ {{ifor
|test1 = Unified Team |var1 = FIN |then = [[Image:Template:Country flag IOC alias FIN
{{ih|Canada|1921}}→ {{ifor
|test1 = Unified Team |var1 = Canada |then = [[Image:Template:Country flag IOC alias Canada
{{ih|URS|name=USSR}}→ {{ifor
|test1 = Unified Team |var1 = URS |then = [[Image:Template:Country flag IOC alias URS
{{ih|Czechoslovakia|name=TCH}}→ {{ifor
|test1 = Unified Team |var1 = Czechoslovakia |then = [[Image:Template:Country flag IOC alias Czechoslovakia
See also
- Template:ih-rt — for rendering the flag on the right
- Template:ihj — for men's junior national teams
- Template:ih18 — for men's under-18 national teams
- Template:ihw — for women's national teams
- Category:National ice hockey teams
| The above documentation is transcluded from Template:Ih/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. |
|}}