Difference between revisions of "Template:Ihw18/doc"

From blackwiki
Jump to navigation Jump to search
imported>Maiō T.
m (Maiō T. moved page Template:Ihwu/doc to Template:Template:Ihw18/doc: main template {{ihwu}} was already moved to {{ihw18}})
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{ihwu|age|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{ihw18|nation|variant|size=optional|name=optional}}</nowiki></code>
  
Produces a flag icon attached to a wikilinked women's national under-''NN'' (e.g. under-20, under-21, etc.) ice hockey team article.
+
Produces a flag icon attached to a wikilinked women's national under-18 ice hockey team article.
 
;Parameters
 
;Parameters
 
*''nation'' — Use either the name of the nation or the three-letter country code as used by the [[International Ice Hockey Federation|IIHF]]  
 
*''nation'' — Use either the name of the nation or the three-letter country code as used by the [[International Ice Hockey Federation|IIHF]]  
*''age'' — Specifies the age limit (e.g. "20", "21", etc.)
 
 
*''variant'' (optional) — Specifies an alternate (historical) flag to use.  This parameter is documented by the appropriate template in [[:Category:Country data templates]].
 
*''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!)
 
*''size'' (optional) — Can be used to change the flag icon size (use sparingly!)
Line 12: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{ihwu|18|Sweden}}</nowiki></tt> → {{ihwu|18|Sweden}}
+
*<code><nowiki>{{ihw18|Sweden}}</nowiki></code> → {{ihw18|Sweden}}
*<tt><nowiki>{{ihwu|18|USA}}</nowiki></tt> → {{ihwu|18|USA}}
+
*<code><nowiki>{{ihw18|USA}}</nowiki></code> → {{ihw18|USA}}
*<tt><nowiki>{{ihwu|18|Canada|1921}}</nowiki></tt>  → {{ihwu|18|Canada|1921}}
+
*<code><nowiki>{{ihw18|Canada|1921}}</nowiki></code>  → {{ihw18|Canada|1921}}
  
 
==See also==
 
==See also==
*[[Template:ihwu-rt]] — for rendering the flag on the right
+
*[[Template:ihw18-rt]] — for rendering the flag on the right
 
*[[Template:ihw]] — for women's national team
 
*[[Template:ihw]] — for women's national team
 +
*[[Template:ih18]] — for men's under-18 national team
 
*[[:Category:Women's national under-18 ice hockey teams]]
 
*[[:Category:Women's national under-18 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:15, 3 June 2020

Description

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

Produces a flag icon attached to a wikilinked women'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