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

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(doesn't add anything different as an example)
imported>Andrwsc
(→‎Examples: replace deprecated flag template selector using AWB)
Line 14: Line 14:
 
*<tt><nowiki>{{fb-rt|Brazil}}</nowiki></tt> → {{fb-rt|Brazil}}
 
*<tt><nowiki>{{fb-rt|Brazil}}</nowiki></tt> → {{fb-rt|Brazil}}
 
*<tt><nowiki>{{fb-rt|ENG}}</nowiki></tt> → {{fb-rt|ENG}}
 
*<tt><nowiki>{{fb-rt|ENG}}</nowiki></tt> → {{fb-rt|ENG}}
*<tt><nowiki>{{fb-rt|Italy|old}}</nowiki></tt> → {{fb-rt|Italy|old}}
+
*<tt><nowiki>{{fb-rt|Italy|1861}}</nowiki></tt> → {{fb-rt|Italy|1861}}
 
*<tt><nowiki>{{fb-rt|GER|name=GER}}</nowiki></tt> → {{fb-rt|GER|name=GER}}
 
*<tt><nowiki>{{fb-rt|GER|name=GER}}</nowiki></tt> → {{fb-rt|GER|name=GER}}
  

Revision as of 23:05, 12 October 2010

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