Difference between revisions of "Template:Bb/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
imported>Koavf
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 [[International Baseball Federation|IBAF]]
+
*''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!)
*''name'' (optional) Can be used to change the wikilink display text
+
*''name'' (optional) Can be used to change the wikilink display text
  
 
==Examples==
 
==Examples==

Revision as of 18:14, 23 March 2019

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