Difference between revisions of "Template:Hbicon/doc"
Jump to navigation
Jump to search
imported>Kante4 |
imported>Rchard2scout m (fix syntax error in json) |
||
| 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" | ||
Revision as of 08:36, 11 October 2019
| 40px | This is a documentation subpage for Template:Hbicon. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{fbicon|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}}→ 23x15px{{hbicon|ENG}}→ 23x15px{{hbicon|Italy|1861}}→ 23x15px{{hbicon|USA|1776}}→ 23x15px
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Nation | 1 | Use either the name of the nation or the three-letter country code as used by the IOC
| String | required |
| Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| String | optional |
| Icon size | size | Can be used to change the flag icon size (use sparingly!) | Unknown | optional |