Difference between revisions of "Template:Fbicon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m ("{{TemplateDataHeader}}" --> "{{TemplateData header}}")
imported>Jonesey95
(→‎Parameters: fix JSON syntax)
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 football team article.",
 
"description": "Produces a flag icon attached to a wikilinked national football team article.",
Line 46: Line 46:
 
"1",
 
"1",
 
"variant",
 
"variant",
"size",
+
"size"
 
],
 
],
 
"format": "inline"
 
"format": "inline"

Revision as of 02:18, 11 October 2019

Description

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

Produces a flag icon to the wikilinked national football team article.

Parameters
  • nation – Use either the name of the nation or the three-letter country code as used by FIFA
  • 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

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

Produces a flag icon attached to a wikilinked national football 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 FIFA

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

See also