Difference between revisions of "Template:Fbbuicon"

From blackwiki
Jump to navigation Jump to search
imported>BalkanianActuality
(Created page with '{{country data {{{2}}} | flagicon/core | variant = {{{variant|{{{3|}}}}}} | size = {{{size|}}} | name = {{#if:{{{full|}}}|{{{name|{{#ifeq:{{#invoke:CountryData|g...')
 
imported>BalkanianActuality
Line 3: Line 3:
 
| variant = {{{variant|{{{3|}}}}}}
 
| variant = {{{variant|{{{3|}}}}}}
 
| size = {{{size|}}}
 
| size = {{{size|}}}
| name = {{#if:{{{full|}}}|{{{name|{{#ifeq:{{#invoke:CountryData|getalias|{{{1}}}|name alias-football}}|nil|{{#ifeq:{{#invoke:CountryData|getalias|{{{1}}}|shortname alias}}|nil|{{#invoke:CountryData|getalias|{{{1}}}|alias}}|{{#invoke:CountryData|getalias|{{{1}}}|shortname alias}}}}|{{#invoke:CountryData|getalias|{{{1}}}|name alias-football}}}} B}}}}}
+
| name = {{#if:{{{full|}}}|{{{name|{{#ifeq:{{#invoke:CountryData|getalias|{{{1}}}|name alias-football}}|nil|{{#ifeq:{{#invoke:CountryData|getalias|{{{1}}}|shortname alias}}|nil|{{#invoke:CountryData|getalias|{{{1}}}|alias}}|{{#invoke:CountryData|getalias|{{{1}}}|shortname alias}}}}|{{#invoke:CountryData|getalias|{{{1}}}|name alias-football}}}} under-{{{1}}} B}}}}}
 
| altlink = national under-{{{1}}} football B team
 
| altlink = national under-{{{1}}} football B team
 
| altvar = football
 
| altvar = football

Revision as of 15:19, 8 March 2020

{{country data {{{2}}} | flagicon/core | variant = | size = | name = | altlink = national under-{{{1}}} football B team | altvar = football | age = under-{{{1}}} | class = B

}}

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

Description

{{fbbuicon|age|nation|variant|size=optional}}

Produces a flag icon (only) 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!)

Examples

  • {{fbbuicon|21|ITA}}Italy

See also