Difference between revisions of "Template:Infobox baseball team"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>MJL |
imported>Charlesaaronthompson (I updated the wiki-code formatting in this template.) |
||
| Line 6: | Line 6: | ||
| abovestyle = {{Baseball primary style|{{{Name}}}|border=2|simple=1}} | | abovestyle = {{Baseball primary style|{{{Name}}}|border=2|simple=1}} | ||
| − | | above | + | | above = {{{name|{{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} |
| − | | subheader | + | | subheader = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }} |
| − | | headerstyle = | + | | headerstyle = {{Baseball primary style|{{{Name}}}|border=2|simple=1}} |
| − | | image | + | | image = {{#if:{{both|{{{logo|{{{Logo|}}}}}}|{{{cap_logo|{{{caplogo|}}}}}}}} |
|<table style="width:100%;"><tr> | |<table style="width:100%;"><tr> | ||
<td style="vertical-align: middle;text-align:center;">{{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{Logo|}}}}}}|size={{{logo_size|{{{Logo_size|}}}}}}|sizedefault=175x100px|alt={{{logo_alt|{{{Logo_alt|}}}}}}}}</td> | <td style="vertical-align: middle;text-align:center;">{{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{Logo|}}}}}}|size={{{logo_size|{{{Logo_size|}}}}}}|sizedefault=175x100px|alt={{{logo_alt|{{{Logo_alt|}}}}}}}}</td> | ||
| Line 27: | Line 27: | ||
| header1 = {{#if:{{{affiliations|}}}{{{league|{{{League|{{{current league|}}}}}}}}}{{{division|{{{Division|{{{current division|}}}}}}}}}{{{location|{{{Location|{{{city|}}}}}}}}}{{{stadium|{{{Stadium|{{{ballpark|}}}}}}}}}{{{founded|{{{Founded|}}}}}}{{{established|{{{Established|}}}}}}{{{disbanded|}}}{{{folded|{{{Folded|}}}}}}{{{nickname|{{{Nickname|{{{nicknames|}}}}}}}}}{{{league_champs|{{{LeagueChamps|{{{leaguechamps|}}}}}}}}}{{{division_champs|{{{DivisionChamps|{{{divisionchamps|}}}}}}}}}{{{series_champs|{{{SeriesChamps|}}}}}}{{{series2_champs|{{{SeriesChamps2|}}}}}}{{{former_names|{{{FormerNames|{{{pastname|}}}}}}}}}{{{former_leagues|{{{FormerLeagues|{{{past league|}}}}}}}}}{{{former_ballparks|{{{FormerBallparks|{{{pastparks|}}}}}}}}}{{{colors|{{{Colors|}}}}}}{{{colours|{{{Colours|}}}}}}{{{logo_design|{{{LogoDesign|}}}}}}{{{mascot|{{{Mascot|}}}}}}{{{record|{{{Record|}}}}}}{{{playoffs|{{{Playoffs|}}}}}}{{{berths|{{{Berths|}}}}}}{{{retired_numbers|{{{retirednumbers|}}}}}}{{{owner|{{{Ownership|}}}}}}{{{management|{{{Management|}}}}}}{{{coach|{{{Coach|}}}}}}{{{manager|{{{Manager|}}}}}}{{{gm|{{{GeneralManager|}}}}}}{{{president|{{{President|}}}}}}{{{media|{{{Media|}}}}}}{{{website|{{{Website|}}}}}}|Information}} | | header1 = {{#if:{{{affiliations|}}}{{{league|{{{League|{{{current league|}}}}}}}}}{{{division|{{{Division|{{{current division|}}}}}}}}}{{{location|{{{Location|{{{city|}}}}}}}}}{{{stadium|{{{Stadium|{{{ballpark|}}}}}}}}}{{{founded|{{{Founded|}}}}}}{{{established|{{{Established|}}}}}}{{{disbanded|}}}{{{folded|{{{Folded|}}}}}}{{{nickname|{{{Nickname|{{{nicknames|}}}}}}}}}{{{league_champs|{{{LeagueChamps|{{{leaguechamps|}}}}}}}}}{{{division_champs|{{{DivisionChamps|{{{divisionchamps|}}}}}}}}}{{{series_champs|{{{SeriesChamps|}}}}}}{{{series2_champs|{{{SeriesChamps2|}}}}}}{{{former_names|{{{FormerNames|{{{pastname|}}}}}}}}}{{{former_leagues|{{{FormerLeagues|{{{past league|}}}}}}}}}{{{former_ballparks|{{{FormerBallparks|{{{pastparks|}}}}}}}}}{{{colors|{{{Colors|}}}}}}{{{colours|{{{Colours|}}}}}}{{{logo_design|{{{LogoDesign|}}}}}}{{{mascot|{{{Mascot|}}}}}}{{{record|{{{Record|}}}}}}{{{playoffs|{{{Playoffs|}}}}}}{{{berths|{{{Berths|}}}}}}{{{retired_numbers|{{{retirednumbers|}}}}}}{{{owner|{{{Ownership|}}}}}}{{{management|{{{Management|}}}}}}{{{coach|{{{Coach|}}}}}}{{{manager|{{{Manager|}}}}}}{{{gm|{{{GeneralManager|}}}}}}{{{president|{{{President|}}}}}}{{{media|{{{Media|}}}}}}{{{website|{{{Website|}}}}}}|Information}} | ||
| − | | label2 | + | | label2 = Affiliations |
| − | | data2 | + | | data2 = {{{affiliations|}}} |
| − | | label3 | + | | label3 = League |
| − | | data3 | + | | data3 = {{{league|{{{League|{{{current league|}}}}}}}}} {{#if:{{both|{{{league|{{{League|{{{current league|}}}}}}}}}|{{{division|{{{Division|{{{current division|}}}}}}}}}}}|({{{division|{{{Division|{{{current division}}}}}}}}})}} |
| − | | label4 | + | | label4 = Location |
| − | | class4 | + | | class4 = label |
| − | | data4 | + | | data4 = {{{location|{{{Location|{{{city|}}}}}}}}} |
| − | | rowclass5 | + | | rowclass5 = adr |
| − | | label5 | + | | label5 = Ballpark |
| − | | class5 | + | | class5 = extended-address |
| − | | data5 | + | | data5 = {{{stadium|{{{Stadium|{{{ballpark|}}}}}}}}} |
| − | | label6 | + | | label6 = {{#if:{{{founded|{{{Founded|}}}}}}|Year founded|Year established}} |
| − | | data6 | + | | data6 = {{#if:{{{founded|{{{Founded|}}}}}}|{{{founded|{{{Founded|}}}}}}|{{{established|{{{Established|}}}}}}}} |
| − | | label7 | + | | label7 = {{#if:{{{disbanded|}}}|Year disbanded|Year folded}} |
| − | | data7 | + | | data7 = {{#if:{{{disbanded|}}}|{{{disbanded}}}|{{{folded|{{{Folded|}}}}}}}} |
| − | | label8 | + | | label8 = Nickname(s) |
| − | | class8 | + | | class8 = nickname |
| − | | data8 | + | | data8 = {{{nickname|{{{Nickname|{{{nicknames|}}}}}}}}} |
| − | | label9 | + | | label9 = {{#if:{{{league_champ_type|}}}|{{{league_champ_type}}}|League championships}} |
| − | | data9 | + | | data9 = {{{league_champs|{{{LeagueChamps|{{{leaguechamps|}}}}}}}}} |
| − | | label10 | + | | label10 = {{#if:{{{division_champ_type|}}}|{{{division_champ_type}}}|Division championships}} |
| − | | data10 | + | | data10 = {{{division_champs|{{{DivisionChamps|{{{divisionchamps|}}}}}}}}} |
| − | | label11 | + | | label11 = {{if empty|{{{series|{{{Series|}}}}}}|Post-season}} championships |
| − | | data11 | + | | data11 = {{{series_champs|{{{SeriesChamps|}}}}}} |
| − | | label12 | + | | label12 = {{if empty|{{{series2|{{{Series2|}}}}}}|Regular-season}} championships |
| − | | data12 | + | | data12 = {{{series2_champs|{{{SeriesChamps2|}}}}}} |
| − | | label13 | + | | label13 = Former name(s) |
| − | | class13 | + | | class13 = nickname |
| − | | data13 | + | | data13 = {{{former_names|{{{FormerNames|{{{pastname|}}}}}}}}} |
| − | | label14 | + | | label14 = Former league(s) |
| − | | data14 | + | | data14 = {{{former_leagues|{{{FormerLeagues|{{{past league|}}}}}}}}} |
| − | | label15 | + | | label15 = Former ballparks |
| − | | data15 | + | | data15 = {{{former_ballparks|{{{FormerBallparks|{{{pastparks|}}}}}}}}} |
| − | | label16 | + | | label16 = {{#if:{{{colors|{{{Colors|}}}}}}|Colors|Colours}} |
| − | | data16 | + | | data16 = {{#if:{{{colors|{{{Colors|}}}}}}|{{{colors|{{{Colors}}}}}}|{{{colours|{{{Colours|}}}}}}}} |
| − | | label17 | + | | label17 = Logo design |
| − | | data17 | + | | data17 = {{{logo_design|{{{LogoDesign|}}}}}} |
| − | | label18 | + | | label18 = Mascot |
| − | | data18 | + | | data18 = {{{mascot|{{{Mascot|}}}}}} |
| − | | label19 | + | | label19 = {{if empty|{{{season|{{{Season|}}}}}}|Last season}} |
| − | | data19 | + | | data19 = {{{record|{{{Record|}}}}}} |
| − | | data20 | + | | data20 = {{{playoffs|{{{Playoffs|}}}}}} |
| − | | label21 | + | | label21 = Playoff berths |
| − | | data21 | + | | data21 = {{{berths|{{{Berths|}}}}}} |
| − | | label22 | + | | label22 = Retired numbers |
| − | | data22 | + | | data22 = {{{retired_numbers|{{{retirednumbers|}}}}}} |
| − | | label23 | + | | label23 = Ownership |
| − | | data23 | + | | data23 = {{{owner|{{{Ownership|}}}}}} |
| − | | label24 | + | | label24 = Management |
| − | | data24 | + | | data24 = {{{management|{{{Management|}}}}}} |
| − | | label25 | + | | label25 = Coach |
| − | | class25 | + | | class25 = agent |
| − | | data25 | + | | data25 = {{{coach|{{{Coach|}}}}}} |
| − | | label26 | + | | label26 = Manager |
| − | | class26 | + | | class26 = agent |
| − | | data26 | + | | data26 = {{{manager|{{{Manager|}}}}}} |
| − | | label27 | + | | label27 = General Manager |
| − | | class27 | + | | class27 = agent |
| − | | data27 | + | | data27 = {{{gm|{{{GeneralManager|}}}}}} |
| − | | label28 | + | | label28 = {{if empty|{{{president_label|}}}|President}} |
| − | | class28 | + | | class28 = agent |
| − | | data28 | + | | data28 = {{{president|{{{President|}}}}}} |
| − | | label29 | + | | label29 = Media |
| − | | data29 | + | | data29 = {{{media|{{{Media|}}}}}} |
| − | | label30 | + | | label30 = Website |
| − | | data30 | + | | data30 = {{{website|{{{Website|}}}}}} |
| header31 = {{#if: {{{uniform|}}}{{{h_cap|}}}{{{h_pattern_cap|}}}{{{h_leftarm|}}}{{{h_pattern_la|}}}{{{h_body|}}}{{{h_pattern_b|}}}{{{h_rightarm|}}}{{{h_pattern_ra|}}}{{{h_pants|}}}{{{h_pattern_pants|}}}{{{h_socks|}}}{{{h_pattern_socks|}}}{{{a_cap|}}}{{{a_pattern_cap|}}}{{{a_leftarm|}}}{{{a_pattern_la|}}}{{{a_body|}}}{{{a_pattern_b|}}}{{{a_rightarm|}}}{{{a_pattern_ra|}}}{{{a_pants|}}}{{{a_pattern_pants|}}}{{{a_socks|}}}{{{a_pattern_socks|}}}{{{t_cap|}}}{{{t_pattern_cap|}}}{{{t_leftarm|}}}{{{t_pattern_la|}}}{{{t_body|}}}{{{t_pattern_b|}}}{{{t_rightarm|}}}{{{t_pattern_ra|}}}{{{t_pants|}}}{{{t_pattern_pants|}}}{{{t_socks|}}}{{{t_pattern_socks|}}}|Uniforms}} | | header31 = {{#if: {{{uniform|}}}{{{h_cap|}}}{{{h_pattern_cap|}}}{{{h_leftarm|}}}{{{h_pattern_la|}}}{{{h_body|}}}{{{h_pattern_b|}}}{{{h_rightarm|}}}{{{h_pattern_ra|}}}{{{h_pants|}}}{{{h_pattern_pants|}}}{{{h_socks|}}}{{{h_pattern_socks|}}}{{{a_cap|}}}{{{a_pattern_cap|}}}{{{a_leftarm|}}}{{{a_pattern_la|}}}{{{a_body|}}}{{{a_pattern_b|}}}{{{a_rightarm|}}}{{{a_pattern_ra|}}}{{{a_pants|}}}{{{a_pattern_pants|}}}{{{a_socks|}}}{{{a_pattern_socks|}}}{{{t_cap|}}}{{{t_pattern_cap|}}}{{{t_leftarm|}}}{{{t_pattern_la|}}}{{{t_body|}}}{{{t_pattern_b|}}}{{{t_rightarm|}}}{{{t_pattern_ra|}}}{{{t_pants|}}}{{{t_pattern_pants|}}}{{{t_socks|}}}{{{t_pattern_socks|}}}|Uniforms}} | ||
Revision as of 19:46, 4 February 2021
[[Category:Infobox templates|Template:Remove first word]]
| 30px | This template uses Lua: |
Syntax
| The Bad News Bears | |||||
|---|---|---|---|---|---|
| Everyone's Favorite Ursines! | |||||
| |||||
| Information | |||||
| Affiliations | Baseball Worldwide | ||||
| League | KBO (Northside Division) | ||||
| Location | Kuala Lumpur | ||||
| Ballpark | Estadio Latinoamericano | ||||
| Year founded | 1961 | ||||
| Year folded | 2012 | ||||
| Nickname(s) | Los pericos | ||||
| League championships | 1963, 2008 | ||||
| Division championships | (1) 1942 | ||||
| Script error: No such module "If empty". championships | 1989 | ||||
| Script error: No such module "If empty". championships | 1974, 2004 | ||||
| Former name(s) | Construction workers | ||||
| Former league(s) | Players League | ||||
| Former ballparks | Shibe Park | ||||
| Colors | Royal blue, pink and white | ||||
| Logo design | Gothic (?) script I | ||||
| Mascot | Perro Sultan | ||||
| Script error: No such module "If empty". | 67-87 | ||||
| Won pennant, lost in Africa Series | |||||
| Playoff berths | 239 | ||||
| Retired numbers | 00, 24 | ||||
| Ownership | BearOwnerz Group | ||||
| Management | Bear Management, LLP | ||||
| Coach | Coach Sam | ||||
| Manager | Connie Mack | ||||
| General Manager | Rich Branchey | ||||
| Script error: No such module "If empty". | Fred Turner | ||||
| Media | BearChannel | ||||
| Website | www.badnewzbearz.baseball | ||||
| Uniforms | |||||
| |||||
{{Infobox baseball team
| Name =
| native_name =
| Logo =
| cap_logo =
| logo_caption =
| League =
| Division =
| Location =
| Stadium =
| Founded =
| Folded =
| Nickname =
| LeagueChamps =
| Series =
| SeriesChamps =
| FormerNames =
| FormerBallparks =
| Colors =
| LogoDesign =
| Mascot =
| Manager =
| Season =
| Record =
| Playoffs =
| affiliations =
| division_champ_type =
| DivisionChamps =
| Series2 =
| SeriesChamps2 =
| FormerLeagues =
| Berths =
| retirednumbers =
| GeneralManager =
| President =
| Media =
| Website =
| Ownership =
| Management =
| Coach =
| h_title =
| h_pattern_cap =
| h_cap =
| h_pattern_la =
| h_leftarm =
| h_pattern_b =
| h_body =
| h_pattern_ra =
| h_rightarm =
| h_pattern_pants =
| h_pants =
| h_socks =
| a_title =
| a_pattern_cap =
| a_cap =
| a_pattern_la =
| a_leftarm =
| a_pattern_b =
| a_body =
| a_pattern_ra =
| a_rightarm =
| a_pattern_pants =
| a_pants =
| a_socks =
| t_title =
| t_pattern_cap =
| t_cap =
| t_pattern_la =
| t_leftarm =
| t_pattern_b =
| t_body =
| t_pattern_ra =
| t_rightarm =
| t_pattern_pants =
| t_pants =
| t_socks =
}}
Parameters
- Name
- (optional; defaults to page name)
- Native_name
- Team nickname
- Logo
- cap_logo
- logo_caption
- affiliations
- League
- Division
- The division in which the team plays (optional; hidden if omitted)
- Location
- Stadium
- Founded
- Folded
- Nickname
- (e.g., New York Yankees are called the Bronx Bombers)
- division_champ_type
- DivisionChamps
- Seasons in which the team has won the division above
- LeagueChamps
- Seasons in which the team has won the league championship
- Series
- Series in which the team is eligible to participate (e.g., World Series, Caribbean Series, Asia Series)
- SeriesChamps
- Seasons in which the team has won the series above
- Series2
- Optional second series name
- SeriesChamps2
- Optional seasons for second series
- FormerNames
- FormerLeagues
- FormerBallparks
- Colors
- BackColor
- Background color of infobox title
- TextColor
- Text color in infobox title
- LogoDesign
- Mascot
- Ownership
- Management
- President, GM, etc.
- Coach
- Name of head coach (for teams with a head coach, instead of a manager)
- Manager
- Name of team manager (for teams with a manager, instead of a head coach)
- Season
- Most recent season
- Record
- Record in most recent season, incl. place, etc. if applicable
- Playoffs
- Playoff result in most recent season
- Berths
- retirednumbers
- GeneralManager
- Name of general manager
- President
- Name of team president
- Media
- Official radio and television coverage
- Website
Uniform
The first batch of these parameters (those prefixed with h_) is for the team's home uniform; the second group is for the away uniform. See also Baseball uniform template.
- h_title (defaults to "Home")
- h_pattern_cap: Cap pattern
- h_cap: Hex code for cap color
- h_pattern_la: Left arm pattern
- h_leftarm: Left arm color
- h_pattern_b: Body pattern
- h_body: Body color
- h_pattern_ra: Right arm pattern
- h_rightarm: Right arm color
- h_pattern_pants: Pants pattern
- h_pants: Pants color
- h_socks: Socks color
- a_title, a_pattern_cap, a_cap, a_pattern_la, a_leftarm, a_pattern_b, a_body, a_pattern_ra, a_rightarm, a_pattern_pants, a_pants, a_socks: See above
Microformat
Tracking category
| The above documentation is transcluded from Template:Infobox baseball team/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |