Difference between revisions of "Template:Bb/doc"

From blackwiki
Jump to navigation Jump to search
(Undid revision 523491474 by 121.1.11.69 (talk))
Line 5: Line 5:
 
Produces a flag icon attached to a wikilinked national baseball team article.
 
Produces a flag icon attached to a wikilinked national baseball team article.
 
;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 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{bb|Cuba}}</nowiki></tt> → {{bb|Cuba}}
+
*<tt><nowiki>{{bb|Japan}}</nowiki></tt> → {{bb|Japan}}
*<tt><nowiki>{{bb|USA}}</nowiki></tt> → {{bb|USA}}
+
*<tt><nowiki>{{bb|DOM}}</nowiki></tt> → {{bb|DOM}}
*<tt><nowiki>{{bb|Venezuela|1930}}</nowiki></tt> → {{bb|Venezuela|1930}}
+
*<tt><nowiki>{{bb|Venezuela|1954}}</nowiki></tt> → {{bb|Venezuela|1954}}
*<tt><nowiki>{{bb|JPN|name=JPN}}</nowiki></tt> → {{bb|JPN|name=JPN}}
+
*<tt><nowiki>{{bb|USA|name=USA}}</nowiki></tt> → {{bb|USA|name=USA}}
  
 
==See also==
 
==See also==

Revision as of 21:58, 25 January 2014

Description

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

Produces a flag icon attached to a wikilinked national baseball team article.

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