Difference between revisions of "Template:Fbu/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
m (moved Template:Fbu21/doc to Template:Fbu/doc: template has been made more generic and renamed)
imported>Andrwsc
(updated)
Line 1: Line 1:
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
==Description==
 
==Description==
<tt><nowiki>{{fbu21|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<tt><nowiki>{{fbu|age|nation|variant|size=optional|name=optional}}</nowiki></tt>
  
Produces a flag icon attached to a wikilinked national under-21 football team article.
+
Produces a flag icon attached to a wikilinked national under-''NN'' (e.g. under-20, under-21, etc.) football team article.
 
;Parameters
 
;Parameters
 
*''nation'' — Use either the name of the nation or the three-letter country code as used by [[List of FIFA country codes|FIFA]]
 
*''nation'' — Use either the name of the nation or the three-letter country code as used by [[List of FIFA country codes|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]].
 
*''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!)
 
*''size'' (optional) — Can be used to change the flag icon size (use sparingly!)
Line 11: Line 12:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{fbu21|Netherlands}}</nowiki></tt> → {{fbu21|Netherlands}}
+
*<tt><nowiki>{{fbu|21|Netherlands}}</nowiki></tt> → {{fbu|21|Netherlands}}
*<tt><nowiki>{{fbu21|ENG}}</nowiki></tt> → {{fbu21|ENG}}
+
*<tt><nowiki>{{fbu|20|Brazil}}</nowiki></tt> → {{fbu|20|Brazil}}
*<tt><nowiki>{{fbu21|Romania|1947}}</nowiki></tt> → {{fbu21|Romania|1947}}
+
*<tt><nowiki>{{fbu|21|ENG}}</nowiki></tt> → {{fbu|21|ENG}}
*<tt><nowiki>{{fbu21|GER|name=GER}}</nowiki></tt> → {{fbu21|GER|name=GER}}
+
*<tt><nowiki>{{fbu|20|COL}}</nowiki></tt> → {{fbu|20|COL}}
 +
*<tt><nowiki>{{fbu|21|Romania|1947}}</nowiki></tt> → {{fbu|21|Romania|1947}}
  
 
==See also==
 
==See also==
 +
*[[Template:Fb]] — for main national football teams
 
*[[:Category:European national under-21 football teams]]
 
*[[:Category:European national under-21 football teams]]
  

Revision as of 18:21, 27 August 2007

Template:Template doc page viewed directly

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

See also