Difference between revisions of "Template:Bb/doc"
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 [[ | + | *''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| | + | *<tt><nowiki>{{bb|Japan}}</nowiki></tt> → {{bb|Japan}} |
| − | *<tt><nowiki>{{bb| | + | *<tt><nowiki>{{bb|DOM}}</nowiki></tt> → {{bb|DOM}} |
| − | *<tt><nowiki>{{bb|Venezuela| | + | *<tt><nowiki>{{bb|Venezuela|1954}}</nowiki></tt> → {{bb|Venezuela|1954}} |
| − | *<tt><nowiki>{{bb| | + | *<tt><nowiki>{{bb|USA|name=USA}}</nowiki></tt> → {{bb|USA|name=USA}} |
==See also== | ==See also== | ||
Revision as of 21:58, 25 January 2014
| This is a documentation subpage for Template:Bb. It contains usage information, categories and other content that is not part of the original template page. |
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
- {{bb|Japan}} →
Japan - {{bb|DOM}} →
Dominican Republic - {{bb|Venezuela|1954}} →
Venezuela - {{bb|USA|name=USA}} →
USA
See also
- Template:bb-rt — for rendering the flag on the right
- Template:bb-big — for rendering a larger flag, with the team name underneath the flag
- Category:National baseball teams