Template:Bb/sandbox
Appearance
{{country data {{{1}}} | flaglink/core | variant = | size = | name = national | age = | altlink = baseball team | altvar = baseball
}}
This is the template sandbox page for Template:Bb (diff). See also the companion subpage for test cases. |
Description
[edit]{{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
[edit]- {{bb|Japan}} → Japan
- {{bb|DOM}} → Dominican Republic
- {{bb|Venezuela|1954}} → Venezuela
- {{bb|USA|name=USA}} → USA
See also
[edit]- 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
- Template:bbicon – for rendering the flag icon only
- Category:National baseball teams