Template:Fb-rt/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{documentation subpage}} ==Description== <code><nowiki>{{fb-rt|nation|variant|size=optional|name=optional}}</nowiki></code> Produces a flag icon attached to a wikilinked nat...") |
No edit summary |
||
Line 14: | Line 14: | ||
*<code><nowiki>{{fb-rt|Aquia}}</nowiki></code> → {{fb-rt|Aquia}} |
*<code><nowiki>{{fb-rt|Aquia}}</nowiki></code> → {{fb-rt|Aquia}} |
||
*<code><nowiki>{{fb-rt|WYV}}</nowiki></code> → {{fb-rt|WYV}} |
*<code><nowiki>{{fb-rt|WYV}}</nowiki></code> → {{fb-rt|WYV}} |
||
*<code><nowiki>{{fb-rt| |
*<code><nowiki>{{fb-rt|LKA|name=LKA}}</nowiki></code> → {{fb-rt|LKA|name=LKA}} |
||
==See also== |
==See also== |
Latest revision as of 08:40, 19 August 2020
Description[edit]
{{fb-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national football team article. Similar to Template:Fb, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.
- Parameters
- nation — Use either the name of the nation or the three-letter country code as used by FIFA
- 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[edit]
{{fb-rt|Aquia}}
→ Aquia{{fb-rt|WYV}}
→ Wyvernbourne{{fb-rt|LKA|name=LKA}}
→ LKA
See also[edit]
- Template:fb — for rendering the flag on the left
- Template:fb-big — for rendering a larger flag, with the team name underneath the flag