Difference between revisions of "Template:Bbu/doc"

From blackwiki
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
m (Fix Linter errors using AutoEd)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{bbu|age|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<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==
*<tt><nowiki>{{bbu|18|USA}}</nowiki></tt> → {{bbu|18|USA}}
+
*<code><nowiki>{{bbu|18|USA}}</nowiki></code> → {{bbu|18|USA}}
*<tt><nowiki>{{bbu|18|USA|name=USA}}</nowiki></tt> → {{bbu|18|USA|name=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

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

See also