Difference between revisions of "Template:Infobox MLB/doc"

From blackwiki
Jump to navigation Jump to search
imported>Charlesaaronthompson
m (I updated the wikicode formatting in this documentation.)
imported>Charlesaaronthompson
m (I reverted the documentation back to this version.)
Line 11: Line 11:
  
 
== Parameters ==
 
== Parameters ==
{{Parameter names example|name|established|misc|logo|uniformlogo|current league|division|y1|y2|Uniform|retirednumbers|team colours|team colors|pastnames|y3|nicknames|ballpark|pastparks|y4|WORLD CHAMPIONS|PENNANTS|OTHER PENNANTS|Division Champs|OTHER DIV CHAMPS|OTHER DIV CHAMPS 2|Wild Card|WS|LEAGUE|P|misc1|DIV|DV|misc5|misc7|WC|misc6|owner|manager|gm|presbo}}
+
{{Parameter names example|name|established|misc|logo|uniformlogo|current league|division|y1|y2|Uniform|retirednumbers|colours|colors|pastnames|y3|nicknames|ballpark|pastparks|y4|WORLD CHAMPIONS|PENNANTS|OTHER PENNANTS|Division Champs|OTHER DIV CHAMPS|OTHER DIV CHAMPS 2|Wild Card|WS|LEAGUE|P|misc1|DIV|DV|misc5|misc7|WC|misc6|owner|manager|gm|presbo}}
 
<pre style="overflow: auto;">{{Infobox MLB
 
<pre style="overflow: auto;">{{Infobox MLB
 
| name =
 
| name =
Line 39: Line 39:
 
| Uniform =
 
| Uniform =
 
| retirednumbers =
 
| retirednumbers =
| team colors = <!-- or | team colours =, use template {{color box}} -->
+
| colors = <!-- or | colours =, use template {{color box}} -->
 
| y3 =
 
| y3 =
 
| nicknames = <!-- for multiple nicknames, separate with commas, e.g. "The Blues, The Blue Bombers" -->
 
| nicknames = <!-- for multiple nicknames, separate with commas, e.g. "The Blues, The Blue Bombers" -->

Revision as of 04:10, 11 July 2019

Usage

Only major league affiliations should be listed; National Association, Western League and other minor league affiliations should not be included. The "Established" date indicates when major league status was gained. Postseasons prior to 1903 are not included as they were regarded more as exhibitions.

The infobox may be added by pasting the template as shown below into an article, typically at the top of an article above the lead section.

Parameters

Template:Parameter names example

{{Infobox MLB
| name =
| established =
| misc =
| logo = <!-- Team Logo -->
| uniformlogo = <!-- Cap Insignia -->
| current league = <!-- [[National League]] or [[American League]] -->
| y1 = <!-- year joined current league -->
| division =
| y2 = <!-- year joined current division -->
| past division =
| y5 = <!-- year joined former division in current league -->
| y6 = <!-- year left former division in current league -->
| past league = <!-- previous major league affiliation -->
| y7 = <!-- year joined previous major league -->
| y8 = <!-- year left previous major league -->
| pastleaguediv1 = <!-- former division 1 in previous major league -->
| y9 = <!-- year joined former division 1 in previous major league -->
| y10 = <!-- year left former division 1 in previous major league -->
| pastleaguediv2 = <!-- former division 2 in previous major league -->
| y11 = <!-- year joined former division 2 in previous major league -->
| y12 = <!-- year left former division 2 in previous major league -->
| pastleaguediv3 = <!-- former division 3 in previous major league -->
| y13 = <!-- year joined former division 3 in previous major league -->
| y14 = <!-- year left former division 3 in previous major league -->
| Uniform =
| retirednumbers =
| colors = <!-- or | colours =, use template {{color box}} -->
| y3 =
| nicknames = <!-- for multiple nicknames, separate with commas, e.g. "The Blues, The Blue Bombers" -->
| pastnames =
| ballpark =
| y4 =
| pastparks =
| WS = <!-- # of WS wins in parentheses -->
| WORLD CHAMPIONS = <!-- Years Won -->
| LEAGUE = <!-- NL or AL -->
| P = <!-- # of pennants in parentheses -->
| PENNANTS = <!-- Years Won -->
| misc1 =
| OTHER PENNANTS =
| DIV = <!-- East, Central, or West -->
| DV = <!-- # of Division titles won in parentheses -->
| Division Champs = <!-- Years Won -->
| misc5 =
| OTHER DIV CHAMPS =
| misc7 =
| OTHER DIV CHAMPS 2 =
| WC = <!-- # of wild card berths in parentheses -->
| Wild Card = <!-- Wild card years -->
| misc6 =
| owner =
| manager =
| gm =
| presbo = <!-- President of Baseball Operations -->
}}

Microformat

Template:UF-hcard-org

Tracking category