Difference between revisions of "Template:Bb-rt/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <kbd><nowiki>{{bb-rt|nation|variant|size=optional|name=optional}}</nowiki></kbd> |
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. | ||
| Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<kbd><nowiki>{{bb-rt|Japan}}</nowiki></kbd> → {{bb-rt|Japan}} |
| − | *< | + | *<kbd><nowiki>{{bb-rt|DOM}}</nowiki></kbd> → {{bb-rt|DOM}} |
| − | *< | + | *<kbd><nowiki>{{bb-rt|Venezuela|1954}}</nowiki></kbd> → {{bb-rt|Venezuela|1954}} |
| − | *< | + | *<kbd><nowiki>{{bb-rt|USA|name=USA}}</nowiki></kbd> → {{bb-rt|USA|name=USA}} |
==See also== | ==See also== | ||
| Line 22: | Line 22: | ||
*[[:Category:National baseball teams]] | *[[:Category:National baseball teams]] | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Baseball templates|{{PAGENAME}}]] | [[Category:Baseball templates|{{PAGENAME}}]] | ||
[[Category:Flag template system|{{PAGENAME}}]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 23:44, 23 April 2020
| 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