Template:Fb/doc: Difference between revisions

From RabastorWiki
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'' – 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 in [[List of NSSport trigrammes|NS Sport]]
*''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 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|Argentina}}</nowiki></code> → {{fb|Argentina}}
*<code><nowiki>{{fb|Osarius}}</nowiki></code> → {{fb|Osarius}}
*<code><nowiki>{{fb|ENG}}</nowiki></code> → {{fb|ENG}}
*<code><nowiki>{{fb|AQL}}</nowiki></code> → {{fb|AQL}}
*<code><nowiki>{{fb|Italy|1861}}</nowiki></code> → {{fb|Italy|1861}}
*<code><nowiki>{{fb|Osarius|pre2185}}</nowiki></code> → {{fb|Osarius|pre2185}}
*<code><nowiki>{{fb|GER|name=GER}}</nowiki></code> → {{fb|GER|name=GER}}
*<code><nowiki>{{fb|OSR|name=OSR}}</nowiki></code> → {{fb|OSR|name=OSR}}


==See also==
==See also==
Line 25: Line 25:


<includeonly>
<includeonly>
[[Category:Association football flag templates]]
[[Category:Flag template system]]


</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

See also