Difference between revisions of "Template:Fba'/doc"

From blackwiki
Jump to navigation Jump to search
imported>BalkanianActuality
(Created page with '{{documentation subpage}} ==Description== <code><nowiki>{{fb|nation|variant|size=optional|name=optional}}</nowiki></code> Produces a flag icon attached to a wik...')
 
imported>BalkanianActuality
(Redirected page to Template:Fbl/doc)
 
Line 1: Line 1:
{{documentation subpage}}
+
#REDIRECT [[Template:Fbl/doc]]
==Description==
 
<code><nowiki>{{fb|nation|variant|size=optional|name=optional}}</nowiki></code>
 
 
 
Produces a flag icon attached to a wikilinked national football team article.
 
;Parameters
 
*''nation''&nbsp;– Use either the name of the nation or the three-letter country code as used by [[List of FIFA country codes|FIFA]]
 
*''variant'' (optional)&nbsp;– Specifies an alternate (historical) flag to use.  This parameter is documented by the appropriate template in [[:Category:Country data templates]].
 
*''size'' (optional)&nbsp;– Can be used to change the flag icon size (use sparingly!)
 
*''name'' (optional)&nbsp;– Can be used to change the wikilink display text
 
*''align'' (optional)&nbsp;- Set to "yes"/"y"/"1" to align country names in vertical lists
 
 
 
==Examples==
 
*<code><nowiki>{{fba'|Algeria}}</nowiki></code> → {{fba'|Algeria}}
 
*<code><nowiki>{{fba'|MAR}}</nowiki></code> → {{fba'|MAR}}
 
*<code><nowiki>{{fba'|Libya|1977}}</nowiki></code> → {{fba'|Libya|1977}}
 
*<code><nowiki>{{fba'|NGA|name=NGA}}</nowiki></code> → {{fba'|NGA|name=NGA}}
 
 
 
==Parameters==
 
{{TemplateDataHeader}}
 
 
 
<templatedata>
 
{
 
"params": {
 
"1": {
 
"label": "Nation",
 
"description": "Use either the name of the nation or the three-letter country code as used by FIFA",
 
"example": "Argentina",
 
"type": "string",
 
"required": true
 
},
 
"align": {
 
"label": "Align",
 
"description": "Set to \"yes\"/\"y\"/\"1\" to align country names in vertical lists",
 
"type": "unknown"
 
},
 
"variant": {
 
"aliases": [
 
"2"
 
],
 
"label": "Flag variant",
 
"description": "Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.",
 
"example": "1861",
 
"type": "string"
 
},
 
"size": {
 
"label": "Icon size",
 
"description": "Can be used to change the flag icon size (use sparingly!)"
 
},
 
"name": {
 
"label": "Link text",
 
"description": "Can be used to change the wikilink display text"
 
}
 
},
 
"description": "Produces a flag icon attached to a wikilinked national football team article.",
 
"paramOrder": [
 
"1",
 
"align",
 
"variant",
 
"size",
 
"name"
 
],
 
"format": "inline"
 
}
 
</templatedata>
 
 
 
==See also==
 
*[[Template:fb-rt]]&nbsp;– for rendering the flag on the right
 
*[[Template:fb-big]]&nbsp;– for rendering a larger flag, with the team name underneath the flag
 
*[[Template:fbicon]]&nbsp;– for rendering the flag on its own, with a wikilink to the national football team page.
 
*[[Template:fbu]]&nbsp;– for under-''NN'' national teams (i.e. under-20, under-21, etc.)
 
*[[Template:fbw]]&nbsp;– for women's national teams
 
*[[Template:fbo]]&nbsp;– for national Olympic football teams
 
*[[:Category:National association football teams]]
 
 
 
<includeonly>{{Sandbox other||
 
[[Category:Association football flag templates]]
 
[[Category:Flag template system]]
 
 
 
}}</includeonly>
 

Latest revision as of 17:01, 12 March 2020

Redirect to: