Difference between revisions of "Template:Fb-rt/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(→‎Examples: better example - previous was redundant)
imported>Andrwsc
(updated)
Line 1: Line 1:
 +
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
==Description==
 
==Description==
<code><nowiki>{{fb-rt|nation|variant|size=optional|name=optional}}</nowiki></code>
+
<tt><nowiki>{{fb-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
  
 
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 11: Line 12:
  
 
==Examples==
 
==Examples==
*<code><nowiki>{{fb-rt|Brazil}}</nowiki></code> → {{fb-rt|Brazil}}
+
*<tt><nowiki>{{fb-rt|Brazil}}</nowiki></tt> → {{fb-rt|Brazil}}
*<code><nowiki>{{fb-rt|ENG}}</nowiki></code> → {{fb-rt|ENG}}
+
*<tt><nowiki>{{fb-rt|ENG}}</nowiki></tt> → {{fb-rt|ENG}}
*<code><nowiki>{{fb-rt|Italy|old}}</nowiki></code> → {{fb-rt|Italy|old}}
+
*<tt><nowiki>{{fb-rt|Italy|old}}</nowiki></tt> → {{fb-rt|Italy|old}}
*<code><nowiki>{{fb-rt|GER|name=West Germany}}</nowiki></code> → {{fb-rt|GER|name=West Germany}}
+
*<tt><nowiki>{{fb-rt|GER|name=GER}}</nowiki></tt> → {{fb-rt|GER|name=GER}}
  
 
==See also==
 
==See also==
 
*[[:Category:National football (soccer) teams]]
 
*[[:Category:National football (soccer) teams]]
 +
 +
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly>
 +
[[Category:Football (soccer) templates|{{PAGENAME}}]]
 +
[[Category:Flag template system|{{PAGENAME}}]]
 +
</includeonly>

Revision as of 06:43, 26 August 2007

Template:Template doc page viewed directly

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

See also