Difference between revisions of "Template:Hbicon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rchard2scout
m (fix syntax error in json)
imported>Kante4
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.

Revision as of 14:56, 10 February 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

  • {{hbicon|Argentina}}Argentina
  • {{hbicon|ENG}}England
  • {{hbicon|Italy|1861}}Italy
  • {{hbicon|USA|1776}}United States

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