Difference between revisions of "Template:Bb"
Jump to navigation
Jump to search
imported>Darkicebot m (robot Adding: simple:Template:Bb) |
imported>Primefac m (Protected "Template:Bb": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{country data {{{1}}} | {{country data {{{1}}} | ||
| − | | | + | | flaglink/core |
| variant = {{{variant|{{{2|}}}}}} | | variant = {{{variant|{{{2|}}}}}} | ||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| Line 6: | Line 6: | ||
| altlink = national baseball team | | altlink = national baseball team | ||
| altvar = baseball | | altvar = baseball | ||
| − | }}<noinclude>{{documentation}} | + | }}<noinclude>{{documentation}}</noinclude> |
| − | |||
| − | |||
| − | </noinclude> | ||
Latest revision as of 18:58, 10 January 2018
{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink = national baseball team | altvar = baseball
}}
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}} → 23x15px Japan
- {{bb|DOM}} → 23x15px Dominican Republic
- {{bb|Venezuela|1954}} → 23x15px Venezuela
- {{bb|USA|name=USA}} → 23x15px 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
| The above documentation is transcluded from Template:Bb/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |