Difference between revisions of "Template:Fbicon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Clyde1998
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 3 users not shown)
Line 13: Line 13:
 
*<code><nowiki>{{fbicon|ENG}}</nowiki></code> → {{fbicon|ENG}}
 
*<code><nowiki>{{fbicon|ENG}}</nowiki></code> → {{fbicon|ENG}}
 
*<code><nowiki>{{fbicon|Italy|1861}}</nowiki></code> → {{fbicon|Italy|1861}}
 
*<code><nowiki>{{fbicon|Italy|1861}}</nowiki></code> → {{fbicon|Italy|1861}}
 +
*<code><nowiki>{{fbicon|USA|1776}}</nowiki></code> → {{fbicon|USA|1776}}
  
 
==Parameters==
 
==Parameters==
{{TemplateDataHeader}}
+
{{TemplateData header}}
  
 
<templatedata>
 
<templatedata>
Line 39: 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 45: Line 46:
 
"1",
 
"1",
 
"variant",
 
"variant",
"size",
+
"size"
 
],
 
],
 
"format": "inline"
 
"format": "inline"
Line 60: Line 61:
 
*[[:Category:National association football teams]]
 
*[[:Category:National association football teams]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Association football flag templates]]
 
[[Category:Association football flag templates]]
 
[[Category:Flag template system]]
 
[[Category:Flag template system]]
</includeonly>
+
}}</includeonly>

Latest revision as of 04:22, 25 April 2020

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

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