Difference between revisions of "Template:Bb-rt/doc"
Jump to navigation
Jump to search
imported>Andrwsc |
|||
| Line 6: | Line 6: | ||
;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 12: | Line 12: | ||
==Examples== | ==Examples== | ||
| − | *<tt><nowiki>{{bb-rt| | + | *<tt><nowiki>{{bb-rt|Japan}}</nowiki></tt> → {{bb-rt|Japan}} |
| − | *<tt><nowiki>{{bb-rt| | + | *<tt><nowiki>{{bb-rt|DOM}}</nowiki></tt> → {{bb-rt|DOM}} |
| − | *<tt><nowiki>{{bb-rt|Venezuela| | + | *<tt><nowiki>{{bb-rt|Venezuela|1954}}</nowiki></tt> → {{bb-rt|Venezuela|1954}} |
| − | *<tt><nowiki>{{bb-rt| | + | *<tt><nowiki>{{bb-rt|USA|name=USA}}</nowiki></tt> → {{bb-rt|USA|name=USA}} |
==See also== | ==See also== | ||
Revision as of 22:03, 25 January 2014
| 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 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-rt|Japan}} → Japan

- {{bb-rt|DOM}} → Dominican Republic

- {{bb-rt|Venezuela|1954}} → Venezuela

- {{bb-rt|USA|name=USA}} → USA

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