Template:Ihicon/doc
< Template:Ihicon
Jump to navigation
Jump to search
Revision as of 17:19, 25 April 2020 by imported>Vanisaac (→Parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
| 40px | This is a documentation subpage for Template:Ihicon. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ihicon|nation|variant|size=optional}}
Produces a flag icon to the wikilinked national ice hockey 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
{{ihicon|Argentina}}→ File:Flag of Argentina.svg{{ihicon|ENG}}→ 23x15px{{ihicon|Italy|1861}}→ File:Flag of Italy (1861–1946).svg{{ihicon|USA|1776}}→ File:Flag of the United States (1776–1777).svg
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 Ihicon
Produces a flag icon attached to a wikilinked national ice hockey 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 |