Difference between revisions of "Template:Bb-rt/doc"
Jump to navigation
Jump to search
imported>Andrwsc (created) |
imported>Andrwsc |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | <tt><nowiki>{{bb|nation|variant|size=optional|name=optional}}</nowiki></tt> | + | <tt><nowiki>{{bb-rt|nation|variant|size=optional|name=optional}}</nowiki></tt> |
Produces a flag icon attached to a wikilinked national baseball team article. Similar to [[Template:Bb]], but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results. | Produces a flag icon attached to a wikilinked national baseball team article. Similar to [[Template:Bb]], but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results. | ||
Revision as of 21:11, 11 February 2008
| 40px | This is a documentation subpage for Template:Bb-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{bb-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national baseball team article. Similar to Template:Bb, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.
- Parameters
- nation — Use either the name of the nation or the three-letter country code as used by IOC, for example.
- 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-rt|Cuba}} → Cuba 23x15px
- {{bb-rt|USA}} → United States 23x15px
- {{bb-rt|Venezuela|1930}} → Venezuela 23x15px
- {{bb-rt|JPN|name=JPN}} → JPN 23x15px
See also
- Template:bb — for rendering the flag on the left
- Template:bb-big — for rendering a larger flag, with the team name underneath the flag
- Category:National baseball teams