Difference between revisions of "Template:Infobox Minor League Baseball"

From blackwiki
Jump to navigation Jump to search
imported>PennaRican81
imported>NatureBoyMD
(changing display of {{{nickname}}} to Name (In usage, this field contains current geographical identifier & monkier, not additional un-official names))
 
(71 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{Template for discussion/dated|page=Infobox MiLB|link=Wikipedia:Templates for discussion/Log/2012 November 14#Template:Infobox MiLB|help=off}}
+
{{short description|Minor League Baseball team|noreplace}}{{Infobox
{| class="infobox vcard" cellpadding="2" width="300px" style="font-size: 95%;"
+
| bodystyle = width: 27em; line-height: 1.5em
|-
+
| subheaderstyle = background:lightyellow;  
| style="margin-left: inherit; font-size: larger;" align="center" colspan="2" style="background:lightyellow;"| '''<span class="fn org">{{{name}}}</span>''' </br> '''Founded in [[{{{founded}}} in baseball|<span class="dtstart">{{{founded}}}</span>]]''' <br>'''<span class="label">[[{{{city}}}]]</span>'''<br>{{{misc|}}}  
+
| headerstyle    = background:lightyellow;
|-
+
| datastyle      = text-align:left;
| align="center" colspan="2" |
+
 
{| width="100%"
+
| subheader1    = <includeonly>'''{{{name|{{PAGENAMEBASE}}}}}'''</includeonly>{{#if:{{{founded|}}}|<br>'''Founded in [[{{{founded}}} in baseball|{{{founded}}}]] {{#if:{{{founding city|}}}|in [[{{{founding city}}}]]}}'''}}{{#if:{{{firstseason|}}}|<br>'''[[{{{firstseason}}} in baseball|{{{firstseason}}}]]'''}}{{#if:{{{lastseason|}}}|''&ndash;''}}{{#if:{{{lastseason|}}}|'''[[{{{lastseason}}} in baseball|{{{lastseason}}}]]'''}}{{#if:{{{allyears|}}}|<br>'''({{{allyears}}})'''}}{{#if:{{{city|}}}|<br>'''{{#if:{{{founding city|}}}|Based in}} [[{{{city}}}]] {{#if:{{{based|}}}|since [[{{{based}}} in baseball|{{{based}}}]]}}'''}}{{#if:{{{misc|}}}|<br>{{{misc|}}}}}
{{#if:{{{logo|}}}|
+
| image          = {{Infobox Minor League Baseball/image
{{!}} align=center style="vertical-align: middle; border: 0;" {{!}} [[Image:{{{logo}}}|100px]]}}
+
  |image1={{{logo|}}}|caption1=Team logo
{{#if:{{{uniformlogo|}}}|
+
  |image2={{{uniformlogo|{{{caplogo|}}}}}}|caption2=Cap insignia
{{!}} align=center style="vertical-align: middle; border: 0;" {{!}} [[Image:{{{uniformlogo}}}|100px]]}}
+
  }}
|-
+
 
{{#if:{{{logo|}}}|
+
| header1 = {{#if:{{{class level|{{{classlevel|}}}}}}{{{past class level|{{{pastclasslevel|}}}}}}{{{current league|}}}{{{league|}}}{{{conference|}}}{{{division|}}}{{{past league|}}}|Minor league affiliations}}
{{!}} align=center style="vertical-align: middle; border: 0;" {{!}} '''Team logo'''}}
+
| label2  = Class
{{#if:{{{uniformlogo|}}}|
+
| data2  = {{{class level|{{{classlevel|}}}}}}
{{!}} align=center style="vertical-align: middle; border: 0;" {{!}} '''Cap insignia'''}}
+
| label3  = Previous classes
|}
+
| data3  = {{{past class level|{{{pastclasslevel|}}}}}}
|-
+
| label4  = League
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Class-level'''
+
| data4  = {{{current league|{{{league|}}}}}}
|-
+
| label5  = Conference
| align="left" colspan="2" |
+
| data5  = {{{conference|}}}
*'''{{{class level}}}'''
+
| label6  = Division
*{{{past class level|}}}
+
| data6  = {{{division|}}}
|-
+
| label7  = {{longitem|Previous leagues}}
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Minor league affiliations'''
+
| data7  = {{{past league|}}}
|-
+
 
| align="left" colspan="2" |
+
| header8 = {{#if:{{{majorleague|}}}{{{pastmajorleague|}}}|Major league affiliations}}
*<b>{{{current league}}}
+
| label9  = Team
**{{#if:{{{conference|}}}|{{{conference}}}&nbsp;-&nbsp;|}}{{{division|}}}</b>
+
| data9  = {{{majorleague|}}}
{{{past league|}}}
+
| label10 = Previous teams
|-
+
| data10  = {{{pastmajorleague|}}}
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Major league affiliations'''
+
 
|-
+
| header11 = {{#if:{{{classchamps|}}}{{{dixiechamps|}}}{{{leaguechamps|}}}{{{pennants|}}}{{{conferencechamps|}}}{{{divisionchamps|}}}{{{firsthalfchamps|}}}{{{secondhalfchamps|}}}{{{wildcardberths|}}}|Minor league titles}}
| align="left" colspan="2" |
+
| label12  = {{nowrap|Class titles {{#if:{{{classnum|}}}|{{nobold|({{{classnum}}})}}}}}}
*'''{{{majorleague}}}'''
+
| data12  = {{{classchamps|}}}
*{{{pastmajorleague|}}}
+
| label13  = {{nowrap|Dixie Series titles {{#if:{{{dixienum|}}}|{{nobold|({{{dixienum}}})}}}}}}
|-
+
| data13  = {{{dixiechamps|}}}
| align="center" colspan="2" |
+
| label14  = {{nowrap|League titles {{#if:{{{leaguenum|}}}|{{nobold|({{{leaguenum}}})}}}}}}
|-
+
| data14  = {{{leaguechamps|}}}
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Name'''
+
| label15  = {{nowrap|Pennants {{#if:{{{pennum|}}}|{{nobold|({{{pennum}}})}}}}}}
|-
+
| data15  = {{{pennants|}}}
| align="left" colspan="2" |
+
| label16  = {{nowrap|Conference titles {{#if:{{{confnum|}}}|{{nobold|({{{confnum}}})}}}}}}
*'''{{{nickname}}}'''
+
| data16  = {{{conferencechamps|}}}
*{{{pastnames|}}}
+
| label17  = {{nowrap|Division titles {{#if:{{{divnum|}}}|{{nobold|({{{divnum}}})}}}}}}
|-
+
| data17  = {{{divisionchamps|}}}
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Colors'''
+
| label18  = {{nowrap|First half titles {{#if:{{{firsthalfnum|}}}|{{nobold|({{{firsthalfnum}}})}}}}}}
|-
+
| data18  = {{{firsthalfchamps|}}}
| colspan=2 |
+
| label19  = {{nowrap|Second half titles {{#if:{{{secondhalfnum|}}}|{{nobold|({{{secondhalfnum}}})}}}}}}
*'''{{{colors}}}
+
| data19  = {{{secondhalfchamps|}}}
|-
+
| label20  = {{nowrap|Wild card berths {{#if:{{{wildcardnum|}}}|{{nobold|({{{wildcardnum}}})}}}}}}
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Ballpark'''
+
| data20  = {{{wildcardberths|}}}
|-
+
 
| align="left" colspan="2" |
+
| header21 = {{#if:{{{nickname|}}}{{{pastnames|}}}{{{colors|}}}{{{mascot|}}}{{{mascots|}}}{{{ballpark|}}}{{{pastparks|}}}{{{owner|}}}{{{manager|}}}{{{gm|}}}|Team data}}
*'''{{{ballpark}}}
+
 
*{{{pastparks|}}}
+
| label22  = Name
|-
+
| data22  = {{{nickname|}}}
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Minor league titles'''
+
 
|- width="165px" align="left" style="vertical-align: top;"
+
| label23  = {{longitem|Previous names|}}
||{{ #if: {{{classchamps|}}} | '''Class titles''' | }} || width="135px" | {{ #if: {{{classchamps|}}} | {{{classchamps}}} | }}
+
| data23  = {{{pastnames|}}}
|- width="165px" align="left" style="vertical-align: top;"
+
 
||'''League titles''' || width="135px" | {{{leaguechamps}}}
+
| label24  = Colors
|- width="165px" align="left" style="vertical-align: top;"
+
| data24  = {{{colors|}}}
||{{ #if: {{{conferencechamps|}}} | '''Conference titles''' | }} || width="135px" | {{ #if: {{{conferencechamps|}}} | {{{conferencechamps}}} | }}
+
 
|- width="165px" align="left" style="vertical-align: top;"
+
| label25  = Mascot{{#if:{{{mascots|}}}|s}}
||'''Division titles''' || width="135px" | {{{divisionchamps}}}
+
| data25  = {{#if:{{{mascots|}}}|{{{mascots}}}|{{{mascot|}}}}}
|-
+
 
| align="left" colspan="2" |
+
| label26  = Ballpark
{{{misc6|}}}
+
| data26  = {{{ballpark|}}}
|-
+
 
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Owner(s)/Operated by: {{{owner}}}'''
+
| label27  = {{longitem|Previous parks}}
|-
+
| data27  = {{{pastparks|}}}
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''Manager: <span class="agent">{{{manager}}}</span>'''
+
 
|-
+
| label28  = {{longitem|Owner(s)/<br>Operator(s)}}
| align="left" style="vertical-align: middle;" colspan="2" style="background:lightyellow;" | '''General Manager: <span class="agent">{{{gm}}}</span>'''
+
| data28  = {{{owner|}}}
|-
+
 
|}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with hCards]]}}<noinclude>
+
| label29  = President
{{documentation}}
+
| data29  = {{{president|}}}
</noinclude>
+
 
 +
| label30  = General Manager
 +
| data30  = {{{gm|}}}
 +
 
 +
| label31  = Manager
 +
| data31  = {{{manager|}}}
 +
 
 +
| label32  = Coach
 +
| data32  = {{{coach|}}}
 +
 
 +
| label33  = Media
 +
| data33  = {{{media|}}}
 +
 
 +
| label34 = Television
 +
| data34 = {{{television|}}}
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox Minor League Baseball with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Minor League Baseball]] with unknown parameter "_VALUE_"|ignoreblank=y| allyears | ballpark | based | caplogo | city | class level | classchamps | classlevel | classnum | coach | colors | conference | conferencechamps | confnum | current league | division | divisionchamps | divnum | dixiechamps | dixienum | firsthalfchamps | firsthalfnum | firstseason | founded | founding city | gm | lastseason | league | leaguechamps | leaguenum | logo | majorleague | manager | mascot | mascots | media | misc | name | nickname | owner | past class level | past league | pastclasslevel | pastmajorleague | pastnames | pastparks | pennants | pennum | president | secondhalfchamps | secondhalfnum | wildcardberths | wildcardnum | uniformlogo }}<noinclude>{{documentation}}</noinclude>

Latest revision as of 14:29, 16 November 2020

[[Category:Template:Pagetype with short description]]

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Active team

{{Infobox Minor League Baseball
| name             = 
| founded          = 
| city             = 
| misc             = 
| logo             = 
| uniformlogo      = 
| class level      = 
| past class level = 
| current league   = 
| conference       = 
| division         = 
| past league      = 
| majorleague      = 
| pastmajorleague  = 
| classnum         = 
| classchamps      = 
| leaguenum        = 
| leaguechamps     = 
| confnum          = 
| conferencechamps = 
| divnum           = 
| divisionchamps   = 
| wildcardnum      = 
| wildcardberths   = 
| nickname         = 
| pastnames        = 
| colors           = 
| mascot           = <!-- or | mascots = -->
| ballpark         = 
| pastparks        = 
| owner            = 
| president        = 
| gm               = 
| manager          = 
}}

Example

[[Category:Template:Pagetype with short description]]
Arkansas Travelers
Founded in 1963
Little Rock, Arkansas
Example.svgExample.svg
Team logoCap insignia
Minor league affiliations
ClassDouble-A (1966–present)
Previous classesTriple-A (1963–1965)
LeagueTexas League (1966–present)
DivisionNorth Division
Previous leagues
Pacific Coast League (1964–1965)
International League (1963)
Major league affiliations
TeamLos Angeles Angels (2001–present)
Previous teamsSt. Louis Cardinals (1966–2000)
Philadelphia Phillies (1963–1965)
Minor league titles
League titles (7)
  • 1971
  • 1977
  • 1979
  • 1980
  • 1989
  • 2001
  • 2008
Division titles (1)
  • 2008
Team data
NameTravs
Previous names
Arkansas Travelers (1902–1961)
ColorsRed, black, gray, white, maroon
         
MascotsAce and Otey
BallparkDickey-Stephens Park (2007–present)
Previous parks
Ray Winder Field (1963–2006)
Owner(s)/
Operator(s)
Arkansas Travelers Baseball, Inc.
General ManagerPaul Allen
ManagerPhillip Wellman
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox Minor League Baseball
| name             = Arkansas Travelers
| founded          = 1963
| city             = Little Rock, Arkansas 
| misc             = 
| logo             = File:Example.svg<!-- Real logo cannot be used -->
| uniformlogo      = File:Example.svg<!-- Real logo cannot be used -->
| class level      = Double-A (1966–present)
| past class level = Triple-A (1963–1965)
| current league   = [[Texas League]] (1966–present)
| conference       = 
| division         = North Division
| past league      = [[Pacific Coast League]] (1964–1965)<br>[[International League]] (1963)
| majorleague      = [[Los Angeles Angels]] (2001–present) 
| pastmajorleague  = [[St. Louis Cardinals]] (1966–2000)<br>[[Philadelphia Phillies]] (1963–1965)
| classnum         =
| classchamps      = 
| leaguenum        = 7
| leaguechamps     = {{hlist|1971|1977|1979|1980|1989|2001|2008}}
| confnum          =
| conferencechamps = 
| divnum           = 1
| divisionchamps   = {{hlist|2008}}
| wildcardnum      =
| wildcardberths   = 
| nickname         = Travs
| pastnames        = Arkansas Travelers (1902–1961)
| colors           = Red, black, gray, white, maroon<br>{{color box|#C40233}} {{color box|black}} {{color box|silver}} {{color box|white}} {{color box|maroon}}
| mascots          = Ace and Otey
| ballpark         = [[Dickey-Stephens Park]] (2007–present)
| pastparks        = [[Ray Winder Field]] (1963–2006)
| owner            = Arkansas Travelers Baseball, Inc.
| president        = 
| gm               = Paul Allen
| manager          = [[Phillip Wellman]]
}}

Defunct team

{{Infobox Minor League Baseball
| name             = 
| firstseason      = 
| lastseason       = 
| allyears         = 
| city             = 
| logo             = 
| uniformlogo      = 
| class level      = 
| league           = 
| majorleague      = 
| nickname         = 
| ballpark         = 
| classnum         =
| classchamps      =
| leaguenum        = 
| leaguechamps     =
| confnum          =
| conferencechamps =
| divnum           = 
| divisionchamps   = 
| wildcardnum      =
| wildcardberths   = 
}}

Example

[[Category:Template:Pagetype with short description]]
Huntsville Stars
19852014
Huntsville, Alabama
Example.svgExample.svg
Team logoCap insignia
Minor league affiliations
ClassDouble-A (1985–2014)
LeagueSouthern League (1985–2014)
Major league affiliations
TeamMilwaukee Brewers (1999–2014)
Oakland A's (1985–1998)
Minor league titles
League titles (3)
  • 1985
  • 1994
  • 2001
Division titles (8)
  • 1985
  • 1986
  • 1994
  • 1997
  • 2001
  • 2003
  • 2006
  • 2007
Team data
NameHuntsville Stars (1985–2014)
BallparkJoe W. Davis Stadium (1985–2014)
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox Minor League Baseball
| name             = Huntsville Stars
| firstseason      = 1985
| lastseason       = 2014
| allyears         = 
| city             = Huntsville, Alabama
| logo             = Example.svg<!-- Real logo cannot be used in this example -->
| uniformlogo      = Example.svg<!-- Real logo cannot be used in this example -->
| class level      = Double-A (1985–2014)
| league           = [[Southern League (baseball)|Southern League]] (1985–2014)
| majorleague      = [[Milwaukee Brewers]] (1999–2014)<br>[[Oakland A's]] (1985–1998)
| nickname         = Huntsville Stars (1985–2014)
| ballpark         = [[Joe W. Davis Stadium]] (1985–2014)
| classnum         =
| classchamps      =
| leaguenum        = 3
| leaguechamps     = {{hlist|1985|1994|2001}}
| confnum          =
| conferencechamps =
| divnum           = 8
| divisionchamps   = {{hlist|1985|1986|1994|1997|2001|2003|2006|2007}}
| wildcardnum      =
| wildcardberths   = 
}}

Parameters

Generally, all parameters are not needed for every team. The list details each valid parameter and its intended use. Some parameters may not be necessary for a given team. For example, most teams will not need |confnum= or |conferencechamps= as they refer to the team alignment specific to the Pacific Coast League. Most parameters left blank or omitted will not be displayed. Where two parameters are listed the preferred usage is in bold and an alternate usage is italicized.

Parameter Explanation
founded The year in which the team was founded—their first season of regular play.
founding city The city in which the team was founded if it differs from the team's current city. This should be used in conjunction with |based=.
firstseason A defunct team's first year of play.
lastseason A defunct team's final year of play.
allyears A date range separated by an en dash showing the first and last years of play for defunct teams to be used in addition to |firstseason= and |lastseason= in cases where teams were inactive between their first and last seasons. May be used in conjunction with {{by}}.
city The current city in which the team plays.
based The year in which the team first played in its current city after having moved from its founding city. This should be used in conjunction with |founding city=. (optional)
misc Undefined
logo The team's primary logo. (TeamLogo.PNG)
uniformlogo or
caplogo
The team's cap insignia. (TeamCapLogo.PNG)
class level The team's current minor league classification (Triple-A, Double-A, Class A-Advanced, Class A, Class A Short Season, Rookie, Foreign Rookie) linked to the appropriate article or section in Minor League Baseball.
past class level The team's past minor league classification(s) (Triple-A, Double-A, Class A-Advanced, Class A, Class A Short Season, Rookie, Foreign Rookie, Class B, Class C, Class D, Unclassified) linked to the appropriate article or section in Minor League Baseball. Multiple items should use {{plainlist}}.
current league or
league
A link to the league in which the team currently plays followed by a range of years separated by an en dash enclosed in parentheses.
conference The conference in which the team currently plays.
division The division in which the team currently plays.
past league The league(s) in which the team has previously played followed by a range of years separated by an en dash enclosed in parentheses. Multiple items should use {{plainlist}}.
majorleague The team's current Major League Baseball affiliate followed by a range of years separated by an en dash enclosed in parentheses.
pastmajorleague The team's previous Major League Baseball affiliate(s) followed by a range of years separated by an en dash enclosed in parentheses. Multiple items should use {{plainlist}}.
classnum The number of times the team has won a championship title at the class level (i.e. the Triple-A Baseball National Championship Game)
classchamps A list of the years in which the team has won championship titles at the class level. Multiple years should be separated by using {{hlist}}.
dixienum The number of times the team won the Dixie Series.
dixiechamps A list of the years in which the team won the Dixie Series. Multiple years should be separated by using {{hlist}}.
leaguenum The number of times the team has won their league's championship.
leaguechamps A list of the years in which the team has won their league's championship. Multiple years should be separated by using {{hlist}}.
pennum The number of times the team has won their league's pennant. This is intended for older teams which competed before the advent of post-season championship games or tournaments.
pennants A list of the years in which the team has won their league's pennant. Multiple years should be separated by using {{hlist}}. This is intended for older teams which competed before the advent of post-season championship games or tournaments.
confnum The number of times the team has won their conference's championship.
conferencechamps A list of the years in which the team has won their conference's championship. Multiple years should be separated by using {{hlist}}.
divnum The number of times the team has won their division's championship.
divisionchamps A list of the years in which the team has won their division's championship. Multiple years should be separated by using {{hlist}}.
firsthalfnum The number of times the team has won their division's first half championship. This is intended for teams in leagues which operate with split seasons.
firsthalfchamps A list of the years in which the team has won their division's first championship. Multiple years should be separated by using {{hlist}}. This is intended for teams in leagues which operate with split seasons.
secondhalfnum The number of times the team has won their division's second half championship. This is intended for teams in leagues which operate with split seasons.
secondhalfchamps A list of the years in which the team has won their division's second championship. Multiple years should be separated by using {{hlist}}. This is intended for teams in leagues which operate with split seasons.
wildcardnum The number of times the team has qualified for the postseason by means of winning a wild card.
wildcardberths A list of the years in which the team has qualified for the postseason by means of winning a wild card. Multiple years should be separated by using {{hlist}}.
nickname The team's current name (geographical identifier and moniker) followed by a range of years separated by an en dash enclosed in parentheses.
pastnames The team's previous name(s) (geographical identifier and moniker) followed by a range of years separated by an en dash enclosed in parentheses. Multiple items should use {{plainlist}}.
colors A list of the teams current colors followed by the use of {{color box}} to display these colors on a second line.
mascot or mascots The name of the team's current mascot or mascots linked to the appropriate section within the team article, if present.
ballpark The team's current ballpark followed by a range of years separated by an en dash enclosed in parentheses.
pastparks The team's previous ballpark(s) followed by a range of years separated by an en dash enclosed in parentheses. Multiple items should use {{plainlist}}.
owner The team's current owner or ownership group. If operated by a different entity, the operator(s) may be listed, separated by a slash (/).
president The team's current president, if applicable.
gm The team's current general manager (baseball), if applicable.
manager The team's current manager.
coach The team's current coach(es).
media The radio station which currently broadcasts the team's games.
television The television station which currently broadcasts the team's games.

Tracking category