Template:Fb/doc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
No edit summary |
||
Line 5: | Line 5: | ||
Produces a flag icon attached to a wikilinked national football team article. | Produces a flag icon attached to a wikilinked national football team article. | ||
;Parameters | ;Parameters | ||
*''nation'' | *''nation'' — Use either the name of the nation or the three-letter country code as used in [[List of NSSport trigrammes|NS Sport]] | ||
*''variant'' (optional) | *''variant'' (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate Country data template. | ||
*''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!) | ||
*''name'' (optional) – Can be used to change the wikilink display text | *''name'' (optional) – Can be used to change the wikilink display text | ||
Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
*<code><nowiki>{{fb| | *<code><nowiki>{{fb|Osarius}}</nowiki></code> → {{fb|Osarius}} | ||
*<code><nowiki>{{fb| | *<code><nowiki>{{fb|AQL}}</nowiki></code> → {{fb|AQL}} | ||
*<code><nowiki>{{fb| | *<code><nowiki>{{fb|Osarius|pre2185}}</nowiki></code> → {{fb|Osarius|pre2185}} | ||
*<code><nowiki>{{fb| | *<code><nowiki>{{fb|OSR|name=OSR}}</nowiki></code> → {{fb|OSR|name=OSR}} | ||
==See also== | ==See also== | ||
Line 25: | Line 25: | ||
<includeonly> | <includeonly> | ||
</includeonly> | </includeonly> |
Latest revision as of 09:59, 15 February 2016
Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
Description
{{fb|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 in NS Sport
- variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate Country data template.
- 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
{{fb|Osarius}}
→ Osarius{{fb|AQL}}
→ Aquillian{{fb|Osarius|pre2185}}
→ Osarius{{fb|OSR|name=OSR}}
→ OSR
See also
- Template:fb-rt – for rendering the flag on the right
- Template:fb-big – for rendering a larger flag, with the team name underneath the flag
- Template:fbu – for under-NN national teams (i.e. under-20, under-21, etc.)
- Template:fbw – for women's national teams
- Category:National association football teams