Difference between revisions of "Template:Fbu/doc"
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>{{ | + | <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>{{ | + | *<tt><nowiki>{{fbu|21|Netherlands}}</nowiki></tt> → {{fbu|21|Netherlands}} |
| − | *<tt><nowiki>{{ | + | *<tt><nowiki>{{fbu|20|Brazil}}</nowiki></tt> → {{fbu|20|Brazil}} |
| − | *<tt><nowiki>{{ | + | *<tt><nowiki>{{fbu|21|ENG}}</nowiki></tt> → {{fbu|21|ENG}} |
| − | *<tt><nowiki>{{ | + | *<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
- {{fbu|21|Netherlands}} →
Netherlands - {{fbu|20|Brazil}} →
Brazil - {{fbu|21|ENG}} →
England - {{fbu|20|COL}} →
Colombia - {{fbu|21|Romania|1947}} →
Romania
See also
- Template:Fb — for main national football teams
- Category:European national under-21 football teams