Difference between revisions of "Template:Ih18/doc"

From blackwiki
Jump to navigation Jump to search
imported>Maiō T.
m (→‎See also: add one & edit one)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{ih18|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{ih18|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked men's national under-18 ice hockey team article.
 
Produces a flag icon attached to a wikilinked men's national under-18 ice hockey team article.
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{ih18|Sweden}}</nowiki></tt> → {{ih18|Sweden}}
+
*<code><nowiki>{{ih18|Sweden}}</nowiki></code> → {{ih18|Sweden}}
*<tt><nowiki>{{ih18|USA}}</nowiki></tt> → {{ih18|USA}}
+
*<code><nowiki>{{ih18|USA}}</nowiki></code> → {{ih18|USA}}
*<tt><nowiki>{{ih18|Canada|1921}}</nowiki></tt> → {{ih18|Canada|1921}}
+
*<code><nowiki>{{ih18|Canada|1921}}</nowiki></code> → {{ih18|Canada|1921}}
*<tt><nowiki>{{ih18|URS|name=USSR}}</nowiki></tt> → {{ih18|URS|name=USSR}}
+
*<code><nowiki>{{ih18|URS|name=USSR}}</nowiki></code> → {{ih18|URS|name=USSR}}
  
 
==See also==
 
==See also==
Line 22: Line 22:
 
*[[Template:ihw18]] — for women's under-18 national teams
 
*[[Template:ihw18]] — for women's under-18 national 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

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

Produces a flag icon attached to a wikilinked men's national under-18 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