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

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{ihw-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{ihw-rt|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked women's national ice hockey team article.  Similar to [[Template:Ihw]], 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.
 
Produces a flag icon attached to a wikilinked women's national ice hockey team article.  Similar to [[Template:Ihw]], 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.
Line 12: Line 12:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{ihw-rt|Sweden}}</nowiki></tt> → {{ihw-rt|Sweden}}
+
*<code><nowiki>{{ihw-rt|Sweden}}</nowiki></code> → {{ihw-rt|Sweden}}
*<tt><nowiki>{{ihw-rt|USA}}</nowiki></tt> → {{ihw-rt|USA}}
+
*<code><nowiki>{{ihw-rt|USA}}</nowiki></code> → {{ihw-rt|USA}}
*<tt><nowiki>{{ihw-rt|Canada|1921}}</nowiki></tt> → {{ihw-rt|Canada|1921}}
+
*<code><nowiki>{{ihw-rt|Canada|1921}}</nowiki></code> → {{ihw-rt|Canada|1921}}
  
 
==See also==
 
==See also==

Latest revision as of 02:15, 3 June 2020

Description

{{ihw-rt|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked women's national ice hockey team article. Similar to Template:Ihw, 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