Difference between revisions of "Template:Infobox MLB"

From blackwiki
Jump to navigation Jump to search
imported>Vanished user 920dow9ijdjh3lkd
(Why is this so much bigger than the rest?)
imported>Thumperward
(fix)
Line 1: Line 1:
{| class="infobox vcard" style="width: 22em; font-size: 88%; line-height: 1.5em"
+
{| class="infobox vcard" style="width: 22em; font-size: 88%; text-align: left; line-height: 1.5em"
 +
! colspan=2 style="text-align: center; background-color: lightyellow" | <span class="fn org">{{{name}}}</span><br />Established [[{{{established}}} in baseball|{{{established}}}]]<br />{{{misc}}}
 
|-
 
|-
| style="margin-left: inherit; font-size: larger;" align="center" colspan="2" style="background:lightyellow;"| '''<span class="fn org">{{{name}}}</span>''' </br> '''Established [[{{{established}}} in baseball|{{{established}}}]]''' </br> {{{misc}}}
+
| colspan=2 style="text-align: center" |
|-
 
| align="center" colspan="2" |
 
 
{|
 
{|
| align=center style="vertical-align: middle; border: 0;"| [[Image:{{{logo}}}|100px]]</br> '''Team Logo'''
+
! align=center style="vertical-align: middle; border: 0"| [[Image:{{{logo}}}|100px]]<br />Team logo
| align=center style="vertical-align: middle; border: 0;"| [[Image:{{{uniformlogo}}}|100px]]</br> '''Cap Insignia'''
+
! align=center style="vertical-align: middle; border: 0"| [[Image:{{{uniformlogo}}}|100px]]<br />Cap Insignia
 
|}
 
|}
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Major league affiliations'''
+
! colspan=2 style="background-color: lightyellow: text-align: center" | Major league affiliations
 
|-
 
|-
| align="left" colspan="2" |
+
! colspan=2 |
*'''[[{{{current league}}}]] ([[{{{y1}}} in baseball|{{{y1}}}]]–present)'''
+
* [[{{{current league}}}]] ([[{{{y1}}} in baseball|{{{y1}}}]]–present)
**'''{{{division}}} ([[{{{y2}}} in baseball|{{{y2}}}]]–present)'''
+
** {{{division}}} ([[{{{y2}}} in baseball|{{{y2}}}]]–present)
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Current uniform'''
+
! colspan=2 style="background-color: lightyellow: text-align: center" | Current uniform
 
|-
 
|-
| align="center" colspan="2" |
+
| colspan=2 style="text-align: center" |
 
{|
 
{|
 
| style="float:right;margin:0 1em 0 1em;text-align:center"| [[Image:{{{Uniform}}}|center|275px]]
 
| style="float:right;margin:0 1em 0 1em;text-align:center"| [[Image:{{{Uniform}}}|center|275px]]
Line 26: Line 25:
 
{{!}} ''{{{retirednumbers|}}}''}}
 
{{!}} ''{{{retirednumbers|}}}''}}
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Colors'''
+
! colspan=2 style="background-color: lightyellow: text-align: center" | Colors
 
|-
 
|-
| align="left" colspan="2" |
+
| colspan=2 |
*'''{{{colors}}}  
+
*'''{{{colors}}}
 
|-
 
|-
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Name'''
+
! colspan=2 style="background-color: lightyellow: text-align: center" | Name
 
|-
 
|-
| align="left" colspan="2" |
+
| colspan=2 |
 
*'''{{{name}}} ([[{{{y3}}} in baseball|{{{y3}}}]]–present)'''
 
*'''{{{name}}} ([[{{{y3}}} in baseball|{{{y3}}}]]–present)'''
 
|-
 
|-
|align="left" colspan="2" |
+
|colspan=2 |
 
*{{{pastnames|}}}
 
*{{{pastnames|}}}
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Other nicknames'''
+
! colspan=2 style="background-color: lightyellow: text-align: center" | Other nicknames
 
|-
 
|-
| align="left" colspan="2" |
+
| colspan=2 |
 
*'''<span class="nickname">{{{nicknames}}}</span>'''
 
*'''<span class="nickname">{{{nicknames}}}</span>'''
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Ballpark'''
+
! colspan=2 style="background-color: lightyellow: text-align: center" | Ballpark
 
|-
 
|-
| align="left" colspan="2" |
+
| colspan=2 |
*'''{{{ballpark}}} {{#if: {{{y4|}}}|([[{{{y4}}} in baseball{{!}}{{{y4}}}]]–present)'''|}}
+
* '''{{{ballpark}}} {{#if: {{{y4|}}}|([[{{{y4}}} in baseball{{!}}{{{y4}}}]]–present)'''|}}
*{{{pastparks|}}}
+
* {{{pastparks|}}}
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Major league titles'''
+
! colspan=2 style="background-color: lightyellow: text-align: center" | Major league titles
|- width="165px" align="left" 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}}}
|- width="165px" align="left" style="vertical-align: top;"
+
|- width="165px" style="vertical-align: top"
 
|| '''{{{LEAGUE}}} Pennants''' {{{P}}} || width="135px" | {{{PENNANTS}}}
 
|| '''{{{LEAGUE}}} Pennants''' {{{P}}} || width="135px" | {{{PENNANTS}}}
|- width="165px" align="left" style="vertical-align: top;"
+
|- width="165px" style="vertical-align: top"
 
|| {{{misc1}}} || width="135px" | {{{OTHER PENNANTS}}}
 
|| {{{misc1}}} || width="135px" | {{{OTHER PENNANTS}}}
|- width="165px" align="left" style="vertical-align: top;"
+
|- width="165px" style="vertical-align: top"
 
|| '''{{{DIV}}} Division titles''' {{{DV}}} || width="135px" | {{{Division Champs}}}
 
|| '''{{{DIV}}} Division titles''' {{{DV}}} || width="135px" | {{{Division Champs}}}
|- width="165px" align="left" style="vertical-align: top;"
+
|- width="165px" style="vertical-align: top"
 
|| {{{misc5}}} || width="135px" | {{{OTHER DIV CHAMPS}}}
 
|| {{{misc5}}} || width="135px" | {{{OTHER DIV CHAMPS}}}
|- width="165px" align="left" style="vertical-align: top;"
+
|- width="165px" style="vertical-align: top"
 
|| '''Wild card berths''' {{{WC}}} || width="135px" | {{{Wild Card}}}
 
|| '''Wild card berths''' {{{WC}}} || width="135px" | {{{Wild Card}}}
 
|-
 
|-
| align="left" colspan="2" |
+
| colspan=2 |
 
{{{misc6}}}
 
{{{misc6}}}
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Owner(s): {{{owner}}}'''
+
! colspan=2 style="background-color: lightyellow: text-align: center" | Owner(s): {{{owner}}}
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Manager: <span class="agent">{{{manager}}}</span>'''
+
! colspan=2 style="background-color: lightyellow: text-align: center" | Manager: <span class="agent">{{{manager}}}</span>
 
|-
 
|-
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''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>}}}|
<th align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;">'''President of Baseball Operations: <span class="agent">{{{presbo}}}</span>'''</th>
+
! style="vertical-align: middle" colspan=2 style="background:lightyellow" {{!}} President of Baseball Operations: <span class="agent">{{{presbo}}}</span>
 +
{{!}}-
 
}}
 
}}
|-
+
|}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
|}<noinclude>{{documentation}}</noinclude>
 

Revision as of 12:50, 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}}}
50px 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