Difference between revisions of "Template:Fbu/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tom Morris
(adding TemplateData)
imported>Tom Morris
(fixing TemplateData)
Line 37: Line 37:
 
},
 
},
 
"3": {
 
"3": {
"aliases": [
+
"label": "Variant",
"Variant"
+
"description": "Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.",
],
+
"example": "1861",
"label": "Species an alternate (historical) flag to use"
+
"type": "string"
 
},
 
},
 
"align": {
 
"align": {
Line 46: Line 46:
 
"description": "Set to \"yes\"/\"y\"/\"1\" to align country names in vertical lists",
 
"description": "Set to \"yes\"/\"y\"/\"1\" to align country names in vertical lists",
 
"type": "unknown"
 
"type": "unknown"
},
 
"variant": {
 
"label": "Flag variant",
 
"description": "Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.",
 
"example": "1861",
 
"type": "string"
 
 
},
 
},
 
"size": {
 
"size": {
Line 68: Line 62:
 
"3",
 
"3",
 
"align",
 
"align",
"variant",
 
 
"size",
 
"size",
 
"name"
 
"name"

Revision as of 13:47, 18 November 2019

Description

{{fbu|age|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national under-NN (e.g. under-20, under-21, etc.) football team article.

Parameters
  • nation — Use either the name of the nation or the three-letter country code as used by FIFA
  • age — Specifies the age limit (e.g. "20", "21", etc.)
  • 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!)
  • name (optional) — Can be used to change the wikilink display text

Examples

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 Fbu

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Age1

Specifies the age limit

Example
21
Numberrequired
Nation2

Use either the name of the nation or the three-letter country code as used by FIFA

Example
Argentina
Stringrequired
Variant3

Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.

Example
1861
Stringoptional
Alignalign

Set to "yes"/"y"/"1" to align country names in vertical lists

Unknownoptional
Icon sizesize

Can be used to change the flag icon size (use sparingly!)

Unknownoptional
Link textname

Can be used to change the wikilink display text

Unknownoptional

Maintenance categories

See also