Difference between revisions of "Template:Ih-rt/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(clean up using AWB)
imported>Andrwsc
(update template documentation using AWB)
Line 1: Line 1:
{{template doc page}}
+
{{documentation subpage}}
 
==Description==
 
==Description==
 
<tt><nowiki>{{ih-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
 
<tt><nowiki>{{ih-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
Line 21: Line 21:
 
*[[:Category:National ice hockey teams]]
 
*[[:Category:National ice hockey teams]]
  
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly>
+
<includeonly>
 
[[Category:Ice hockey team templates|{{PAGENAME}}]]
 
[[Category:Ice hockey team templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Revision as of 22:20, 14 November 2007

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

See also