Difference between revisions of "Template:Fbicon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Clyde1998
imported>Clyde1998
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<code><nowiki>{{fb|nation|variant|size=optional}}</nowiki></code>
+
<code><nowiki>{{fbicon|nation|variant|size=optional}}</nowiki></code>
  
 
Produces a flag icon to the wikilinked national football team article.
 
Produces a flag icon to the wikilinked national football team article.
Line 8: Line 8:
 
*''variant'' (optional)&nbsp;– Specifies an alternate (historical) flag to use.  This parameter is documented by the appropriate template in [[:Category:Country data templates]].
 
*''variant'' (optional)&nbsp;– Specifies an alternate (historical) flag to use.  This parameter is documented by the appropriate template in [[:Category:Country data templates]].
 
*''size'' (optional)&nbsp;– Can be used to change the flag icon size (use sparingly!)
 
*''size'' (optional)&nbsp;– Can be used to change the flag icon size (use sparingly!)
*''align'' (optional)&nbsp;- Set to "yes"/"y"/"1" to align country names in vertical lists
 
  
 
==Examples==
 
==Examples==
Line 27: Line 26:
 
"type": "string",
 
"type": "string",
 
"required": true
 
"required": true
},
 
"align": {
 
"label": "Align",
 
"description": "Set to \"yes\"/\"y\"/\"1\" to align country names in vertical lists",
 
"type": "unknown"
 
 
},
 
},
 
"variant": {
 
"variant": {
Line 50: Line 44:
 
"paramOrder": [
 
"paramOrder": [
 
"1",
 
"1",
"align",
 
 
"variant",
 
"variant",
 
"size",
 
"size",

Revision as of 04:30, 9 July 2018

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

Syntax error in JSON.

See also