Difference between revisions of "Template:Fb-rt/doc"
Jump to navigation
Jump to search
imported>Zyxw (prevent sandbox for being included in categories) |
imported>Jonesey95 |
||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
− | < | + | <code><nowiki>{{fb-rt|nation|variant|size=optional|name=optional}}</nowiki></code> |
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. | 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. | ||
Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
− | *< | + | *<code><nowiki>{{fb-rt|Brazil}}</nowiki></code> → {{fb-rt|Brazil}} |
− | *< | + | *<code><nowiki>{{fb-rt|ENG}}</nowiki></code> → {{fb-rt|ENG}} |
− | *< | + | *<code><nowiki>{{fb-rt|Italy|1861}}</nowiki></code> → {{fb-rt|Italy|1861}} |
− | *< | + | *<code><nowiki>{{fb-rt|GER|name=GER}}</nowiki></code> → {{fb-rt|GER|name=GER}} |
==See also== | ==See also== |
Latest revision as of 23:45, 5 December 2019
![]() | This is a documentation subpage for Template:Fb-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{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
{{fb-rt|Brazil}}
→ Brazil{{fb-rt|ENG}}
→ England{{fb-rt|Italy|1861}}
→ Italy{{fb-rt|GER|name=GER}}
→ GER
See also
- Template:fb — for rendering the flag on the left
- Template:fb-big — for rendering a larger flag, with the team name underneath the flag
- Category:National association football teams