Difference between revisions of "Template:Iih/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(new)
 
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 +
==Description==
 +
<code><nowiki>{{iih|nation|variant|size=optional|name=optional}}</nowiki></code>
  
<includeonly>
+
Produces a flag icon attached to a wikilinked men's national inline hockey team article.
 +
;Parameters
 +
*''nation'' — Use either the name of the nation or the three-letter country code as used by the [[International Roller Sports Federation]]
 +
*''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==
 +
*<code><nowiki>{{iih|Sweden}}</nowiki></code> → {{iih|Sweden}}
 +
*<code><nowiki>{{iih|CZE}}</nowiki></code> → {{iih|CZE}}
 +
*<code><nowiki>{{iih|Canada|1921}}</nowiki></code> → {{iih|Canada|1921}}
 +
 
 +
==See also==
 +
*[[Template:iihj]] — for men's junior national teams
 +
*[[Template:iihw]] — for women's national teams
 +
 
 +
<includeonly>{{Sandbox other||
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
  
 
[[cs:Šablona:Lh]]
 
[[cs:Šablona:Lh]]
</includeonly>
+
}}</includeonly>

Latest revision as of 02:15, 3 June 2020

Description

{{iih|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked men's national inline hockey team article.

Parameters
  • nation — Use either the name of the nation or the three-letter country code as used by the International Roller Sports Federation
  • 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