Difference between revisions of "Template:Hbwicon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Sb008
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{hbwicon|nation|variant|size=optional}}</nowiki></tt>
+
<code><nowiki>{{hbwicon|nation|variant|size=optional}}</nowiki></code>
  
 
Produces a flag icon (only) wikilinked women's national handball team article.
 
Produces a flag icon (only) wikilinked women's national handball team article.
Line 9: Line 9:
 
*''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!)
 
==Examples==
 
==Examples==
*<tt><nowiki>{{hbwicon|USA}}</nowiki></tt> → {{hbwicon|USA}}
+
*<code><nowiki>{{hbwicon|USA}}</nowiki></code> → {{hbwicon|USA}}
*<tt><nowiki>{{hbwicon|Sweden}}</nowiki></tt> → {{hbwicon|Sweden}}
+
*<code><nowiki>{{hbwicon|Sweden}}</nowiki></code> → {{hbwicon|Sweden}}
*<tt><nowiki>{{hbwicon|CHN}}</nowiki></tt> → {{hbwicon|CHN}}
+
*<code><nowiki>{{hbwicon|CHN}}</nowiki></code> → {{hbwicon|CHN}}
  
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
[[Category:Flag template system]]
+
[[Category:Handball templates|{{PAGENAME}}]]
 +
[[Category:Flag template system|{{PAGENAME}}]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 19:13, 28 December 2020

Description

{{hbwicon|nation|variant|size=optional}}

Produces a flag icon (only) wikilinked women's national handball team article.

Parameters
  • nation — Use either the name of the nation or the three-letter country code as used by IOC
  • 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!)

Examples

  • {{hbwicon|USA}}United States
  • {{hbwicon|Sweden}}Sweden
  • {{hbwicon|CHN}}China