Difference between revisions of "Template:Hbicon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kante4
(Created page with '{{documentation subpage}} ==Description== <code><nowiki>{{fbicon|nation|variant|size=optional}}</nowiki></code> Produces a flag icon to the wikilinked national...')
 
imported>Sb008
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<code><nowiki>{{fbicon|nation|variant|size=optional}}</nowiki></code>
+
<code><nowiki>{{hbicon|nation|variant|size=optional}}</nowiki></code>
  
 
Produces a flag icon to the wikilinked national handball team article.
 
Produces a flag icon to the wikilinked national handball team article.
Line 40: Line 40:
 
"label": "Icon size",
 
"label": "Icon size",
 
"description": "Can be used to change the flag icon size (use sparingly!)"
 
"description": "Can be used to change the flag icon size (use sparingly!)"
},
+
}
 
},
 
},
 
"description": "Produces a flag icon attached to a wikilinked national handball team article.",
 
"description": "Produces a flag icon attached to a wikilinked national handball team article.",
Line 46: Line 46:
 
"1",
 
"1",
 
"variant",
 
"variant",
"size",
+
"size"
 
],
 
],
 
"format": "inline"
 
"format": "inline"
Line 52: Line 52:
 
</templatedata>
 
</templatedata>
  
==See also==
+
<includeonly>{{Sandbox other||
*[[Template:fb]]&nbsp;– for rendering a flag icon attached with the nation name, wikilinked national football team article.
+
[[Category:Handball templates|{{PAGENAME}}]]
*[[Template:fb-rt]]&nbsp;– for rendering the flag on the right
+
[[Category:Flag template system|{{PAGENAME}}]]
*[[Template:fb-big]]&nbsp;– for rendering a larger flag, with the team name underneath the flag
+
}}</includeonly>
*[[Template:fbu]]&nbsp;– for under-''NN'' national teams (i.e. under-20, under-21, etc.)
 
*[[Template:fbw]]&nbsp;– for women's national teams
 
*[[Template:fbo]]&nbsp;– for national Olympic football teams
 
*[[:Category:National association football teams]]
 
 
 
<includeonly>
 
[[Category:Flag template system]]
 
</includeonly>
 

Latest revision as of 19:05, 28 December 2020

Description

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

Produces a flag icon to the wikilinked 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

Parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Hbicon

Produces a flag icon attached to a wikilinked national handball team article.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Nation1

Use either the name of the nation or the three-letter country code as used by the IOC

Example
Argentina
Stringrequired
Flag variantvariant 2

Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.

Example
1861
Stringoptional
Icon sizesize

Can be used to change the flag icon size (use sparingly!)

Unknownoptional