Difference between revisions of "Template:Ih"

From blackwiki
Jump to navigation Jump to search
imported>Djsasso
imported>Djsasso
(Fix Unified Team link)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#ifor:
+
{{#switch:{{{1}}}|Unified Team|EUN=[[File:Olympic_flag.svg|22x20px]] [[Unified Team national ice hockey team|Unified Team]]|#default={{country data {{{1}}}
|test1 = {{{1}}}  
+
| flaglink/core
|var1 = Unified Team
+
| variant = {{{variant|{{{2|}}}}}}
|then = {{flagIOC|{{{1}}}}
+
| size = {{{size|}}}
|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}}
+
| name = {{{name|}}}
|}}
+
| altlink = men's national ice hockey team
<noinclude>{{documentation}}</noinclude>
+
| altvar = ice hockey
 +
| mw = men's
 +
}}}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 15:15, 25 February 2018

{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink = men's national ice hockey team | altvar = ice hockey | mw = men's

}}

50px Template documentation[view] [edit] [history] [purge]

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

See also