Difference between revisions of "Template:Ihwicon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kante4
(Created page with '{{documentation subpage}} ==Description== <code><nowiki>{{ihwicon|nation|variant|size=optional}}</nowiki></code> Produces a flag icon to the wikilinked women's...')
 
imported>Vanisaac
m (→‎Parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 52: Line 52:
 
</templatedata>
 
</templatedata>
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Flag template system]]
 
[[Category:Flag template system]]
</includeonly>
+
}}</includeonly>

Latest revision as of 17:20, 25 April 2020

Description

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

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

  • {{ihwicon|Argentina}}Argentina
  • {{ihwicon|ENG}}England
  • {{ihwicon|Italy|1861}}Italy
  • {{ihwicon|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 Ihwicon

Produces a flag icon attached to a wikilinked women's national ice hockey 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