Difference between revisions of "Template:Bbu/doc"
Jump to navigation
Jump to search
imported>Maiō T. (←Created page with '{{Documentation subpage}} ==Description== <tt><nowiki>{{bbu|age|nation|variant|size=optional|name=optional}}</nowiki></tt> Produces a flag icon attached to a wi...') |
imported>Jonesey95 |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <code><nowiki>{{bbu|age|nation|variant|size=optional|name=optional}}</nowiki></code> |
Produces a flag icon attached to a wikilinked national under-''NN'' (e.g. under-18, etc.) baseball team article. | Produces a flag icon attached to a wikilinked national under-''NN'' (e.g. under-18, etc.) baseball team article. | ||
| Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<code><nowiki>{{bbu|18|USA}}</nowiki></code> → {{bbu|18|USA}} |
| − | *< | + | *<code><nowiki>{{bbu|18|USA|name=USA}}</nowiki></code> → {{bbu|18|USA|name=USA}} |
==See also== | ==See also== | ||
| + | *[[Template:Bbu-rt]] — for rendering the flag on the right | ||
*[[Template:Bb]] — for main national baseball teams | *[[Template:Bb]] — for main national baseball teams | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
| + | [[Category:Baseball templates]] | ||
[[Category:Flag template system]] | [[Category:Flag template system]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 15:58, 25 May 2020
| This is a documentation subpage for Template:Bbu. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{bbu|age|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national under-NN (e.g. under-18, etc.) baseball team article.
- Parameters
- age — Specifies the age limit (e.g. "18", etc.)
- nation — Use either the name of the nation or the three-letter country code
- 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
{{bbu|18|USA}}→ File:Flag of the United States.svg United States{{bbu|18|USA|name=USA}}→ File:Flag of the United States.svg USA
See also
- Template:Bbu-rt — for rendering the flag on the right
- Template:Bb — for main national baseball teams