Difference between revisions of "Template:Fbs"

From blackwiki
Jump to navigation Jump to search
imported>Aleksandr Grigoryev
(Created page with '<span style="white-space:nowrap">{{country data {{{1}}} | {{yesno|{{{align|}}}|yes=flaglink/aligned|no=flaglink/core}} | variant = {{{variant|{{{2|}}}}}} | size...')
 
imported>ShakespeareFan00
(Whitespace collapse to silence a parser concern)
Line 1: Line 1:
<span style="white-space:nowrap">{{country data {{{1}}}
+
<span style="white-space:nowrap">{{country data {{{1}}}| {{yesno|{{{align|}}}|yes=flaglink/aligned|no=flaglink/core}}| variant = {{{variant|{{{2|}}}}}}| size = {{{size|}}}| name = {{{name|}}}| altlink = student football team| altvar = football}}</span><noinclude>{{documentation}}</noinclude>
| {{yesno|{{{align|}}}|yes=flaglink/aligned|no=flaglink/core}}
 
| variant = {{{variant|{{{2|}}}}}}
 
| size = {{{size|}}}
 
| name = {{{name|}}}
 
| altlink = student football team
 
| altvar = football
 
}}</span><noinclude>{{documentation}}</noinclude>
 

Revision as of 12:48, 6 July 2018

{{country data {{{1}}}| flaglink/core| variant = | size = | name = | altlink = student football team| altvar = football}}

Template documentation[view] [edit] [history] [purge]

Description

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

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

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