Difference between revisions of "Template:Ihj/doc"

From blackwiki
Jump to navigation Jump to search
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==
 
==Description==
<tt><nowiki>{{ihj|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{ihj|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked national junior ice hockey team article.
 
Produces a flag icon attached to a wikilinked national junior ice hockey team article.
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{ihj|Sweden}}</nowiki></tt> → {{ihj|Sweden}}
+
*<code><nowiki>{{ihj|Sweden}}</nowiki></code> → {{ihj|Sweden}}
*<tt><nowiki>{{ihj|USA}}</nowiki></tt> → {{ihj|USA}}
+
*<code><nowiki>{{ihj|USA}}</nowiki></code> → {{ihj|USA}}
*<tt><nowiki>{{ihj|Canada|1921}}</nowiki></tt> → {{ihj|Canada|1921}}
+
*<code><nowiki>{{ihj|Canada|1921}}</nowiki></code> → {{ihj|Canada|1921}}
*<tt><nowiki>{{ihj|URS|name=USSR}}</nowiki></tt> → {{ihj|URS|name=USSR}}
+
*<code><nowiki>{{ihj|URS|name=USSR}}</nowiki></code> → {{ihj|URS|name=USSR}}
  
 
==See also==
 
==See also==
 
*[[Template:ihj-rt]] — for rendering the flag on the right
 
*[[Template:ihj-rt]] — for rendering the flag on the right
*[[Template:ih]] - for men's senior national teams
+
*[[Template:ih]] for men's senior national teams
*[[Template:ih18]] - for men's under-18 national teams
+
*[[Template:ih18]] for men's under-18 national teams
 
*[[Template:ihw]] — for women's national teams
 
*[[Template:ihw]] — for women's national teams
 
*[[:Category:National ice hockey teams]]
 
*[[:Category:National ice hockey teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Ice hockey team templates|{{PAGENAME}}]]
 
[[Category:Ice hockey team templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 02:16, 3 June 2020

Description

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

Produces a flag icon attached to a wikilinked national junior 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