Difference between revisions of "Template:Fbb/doc"

From blackwiki
Jump to navigation Jump to search
imported>BalkanianActuality
(I created this template for the national B football team like England national football B team or France national football B team, please help me complete it template)
 
imported>S.A. Julio
m (→‎Examples: adjust)
 
Line 12: Line 12:
  
 
==Examples==
 
==Examples==
*<code><nowiki>{{fbb|Argentina}}</nowiki></code> → {{fbb|Argentina}}
+
*<code><nowiki>{{fbb|France}}</nowiki></code> → {{fbb|France}}
*<code><nowiki>{{fbb|ENG}}</nowiki></code> → {{fbb|ENG}}
+
*<code><nowiki>{{fbb|ENG|full=y}}</nowiki></code> → {{fbb|ENG|full=y}}
 
*<code><nowiki>{{fbb|Italy|1861}}</nowiki></code> → {{fbb|Italy|1861}}
 
*<code><nowiki>{{fbb|Italy|1861}}</nowiki></code> → {{fbb|Italy|1861}}
 
*<code><nowiki>{{fbb|GER|name=GER}}</nowiki></code> → {{fbb|GER|name=GER}}
 
*<code><nowiki>{{fbb|GER|name=GER}}</nowiki></code> → {{fbb|GER|name=GER}}

Latest revision as of 21:57, 7 March 2020

Description

{{fbb|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a 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!)
  • name (optional) – Can be used to change the wikilink display text
  • align (optional) - Set to "yes"/"y"/"1" to align country names in vertical lists

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 Fbb

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
Alignalign

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

Unknownoptional
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
Link textname

Can be used to change the wikilink display text

Unknownoptional

See also