Difference between revisions of "Template:Infobox MLB"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(fix)
imported>Thumperward
(fix headers)
Line 8: Line 8:
 
|}
 
|}
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | Major league affiliations
+
! colspan=2 style="background-color: lightyellow; text-align: center" | Major league affiliations
 
|-
 
|-
 
! colspan=2 |
 
! colspan=2 |
Line 14: Line 14:
 
** {{{division}}} ([[{{{y2}}} in baseball|{{{y2}}}]]–present)
 
** {{{division}}} ([[{{{y2}}} in baseball|{{{y2}}}]]–present)
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | Current uniform
+
! colspan=2 style="background-color: lightyellow; text-align: center" | Current uniform
 
|-
 
|-
 
| colspan=2 style="text-align: center" |
 
| colspan=2 style="text-align: center" |
Line 25: Line 25:
 
{{!}} ''{{{retirednumbers|}}}''}}
 
{{!}} ''{{{retirednumbers|}}}''}}
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | Colors
+
! colspan=2 style="background-color: lightyellow; text-align: center" | Colors
 
|-
 
|-
 
| colspan=2 |
 
| colspan=2 |
Line 31: Line 31:
 
|-
 
|-
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | Name
+
! colspan=2 style="background-color: lightyellow; text-align: center" | Name
 
|-
 
|-
 
| colspan=2 |
 
| colspan=2 |
Line 39: Line 39:
 
*{{{pastnames|}}}
 
*{{{pastnames|}}}
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | Other nicknames
+
! colspan=2 style="background-color: lightyellow; text-align: center" | Other nicknames
 
|-
 
|-
 
| colspan=2 |
 
| colspan=2 |
 
*'''<span class="nickname">{{{nicknames}}}</span>'''
 
*'''<span class="nickname">{{{nicknames}}}</span>'''
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | Ballpark
+
! colspan=2 style="background-color: lightyellow; text-align: center" | Ballpark
 
|-
 
|-
 
| colspan=2 |
 
| colspan=2 |
Line 50: Line 50:
 
* {{{pastparks|}}}
 
* {{{pastparks|}}}
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | Major league titles
+
! colspan=2 style="background-color: lightyellow; text-align: center" | Major league titles
 
|- width="165px" style="vertical-align: top"
 
|- width="165px" style="vertical-align: top"
 
|| '''World Series titles''' {{{WS}}} || width="135px" | {{{WORLD CHAMPIONS}}}
 
|| '''World Series titles''' {{{WS}}} || width="135px" | {{{WORLD CHAMPIONS}}}
Line 67: Line 67:
 
{{{misc6}}}
 
{{{misc6}}}
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | Owner(s): {{{owner}}}
+
! colspan=2 style="background-color: lightyellow; text-align: center" | Owner(s): {{{owner}}}
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | Manager: <span class="agent">{{{manager}}}</span>
+
! colspan=2 style="background-color: lightyellow; text-align: center" | Manager: <span class="agent">{{{manager}}}</span>
 
|-
 
|-
! colspan=2 style="background-color: lightyellow: text-align: center" | General Manager: <span class="agent">{{{gm}}}</span>
+
! colspan=2 style="background-color: lightyellow; text-align: center" | General Manager: <span class="agent">{{{gm}}}</span>
 
|-
 
|-
 
{{#if:{{{presbo<includeonly>|</includeonly>}}}|
 
{{#if:{{{presbo<includeonly>|</includeonly>}}}|

Revision as of 12:51, 20 October 2009

{{{name}}}
Established [[{{{established}}} in baseball|{{{established}}}]]
{{{misc}}}
[[Image:{{{logo}}}|100px]]
Team logo
[[Image:{{{uniformlogo}}}|100px]]
Cap Insignia
Major league affiliations
  • [[{{{current league}}}]] ([[{{{y1}}} in baseball|{{{y1}}}]]–present)
    • {{{division}}} ([[{{{y2}}} in baseball|{{{y2}}}]]–present)
Current uniform
[[Image:{{{Uniform}}}|center|275px]]
Colors
  • {{{colors}}}
Name
  • {{{name}}} ([[{{{y3}}} in baseball|{{{y3}}}]]–present)
Other nicknames
  • {{{nicknames}}}
Ballpark
  • {{{ballpark}}}
Major league titles
World Series titles {{{WS}}} {{{WORLD CHAMPIONS}}}
{{{LEAGUE}}} Pennants {{{P}}} {{{PENNANTS}}}
{{{misc1}}} {{{OTHER PENNANTS}}}
{{{DIV}}} Division titles {{{DV}}} {{{Division Champs}}}
{{{misc5}}} {{{OTHER DIV CHAMPS}}}
Wild card berths {{{WC}}} {{{Wild Card}}}

{{{misc6}}}

Owner(s): {{{owner}}}
Manager: {{{manager}}}
General Manager: {{{gm}}}
President of Baseball Operations: {{{presbo}}}
Template documentation[view] [edit] [history] [purge]


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 =
| president=
| presbo = <!-- President of Baseball Operations -->
| gm =
| manager =


}}

Microformat

Template:UF-hcard-org

Tracking category