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

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
Line 6: Line 6:
  
 
;Parameters
 
;Parameters
*''nation'' — Use either the name of the nation or the three-letter country code as used by [[List of IOC country codes|IOC]], for example.
+
*''nation'' — Use either the name of the nation or the three-letter country code as used by [[International Baseball Federation|IBAF]]
 
*''variant'' (optional) — Specifies an alternate (historical) flag to use.  This parameter is documented by the appropriate template in [[:Category:Country data templates]].
 
*''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!)
 
*''size'' (optional) — Can be used to change the flag icon size (use sparingly!)
Line 12: Line 12:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{bb-rt|Cuba}}</nowiki></tt> → {{bb-rt|Cuba}}
+
*<tt><nowiki>{{bb-rt|Japan}}</nowiki></tt> → {{bb-rt|Japan}}
*<tt><nowiki>{{bb-rt|USA}}</nowiki></tt> → {{bb-rt|USA}}
+
*<tt><nowiki>{{bb-rt|DOM}}</nowiki></tt> → {{bb-rt|DOM}}
*<tt><nowiki>{{bb-rt|Venezuela|1930}}</nowiki></tt> → {{bb-rt|Venezuela|1930}}
+
*<tt><nowiki>{{bb-rt|Venezuela|1954}}</nowiki></tt> → {{bb-rt|Venezuela|1954}}
*<tt><nowiki>{{bb-rt|JPN|name=JPN}}</nowiki></tt> → {{bb-rt|JPN|name=JPN}}
+
*<tt><nowiki>{{bb-rt|USA|name=USA}}</nowiki></tt> → {{bb-rt|USA|name=USA}}
  
 
==See also==
 
==See also==

Revision as of 22:03, 25 January 2014

Description

{{bb-rt|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national baseball team article. Similar to Template:Bb, 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 IBAF
  • 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