แม่แบบ:Infobox baseball team

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

Syntax[แก้]

The Bad News Bears
Old Teddy Bear.jpg
ลีก KBO (Northside Division)
สถานที่ Kuala Lumpur
สนามเบสบอล Estadio Latinoamericano
ปีที่ก่อตั้ง 1961
Year Folded 2012
ฉายา Los pericos
แชมป์ลีก 1963, 2008
แชมป์World Series 1989
Japan Series championships 1974, 2004
ชื่อในอดีต Construction workers
Former league(s) Players League
Former ballparks Shibe Park
สี Royal blue, pink and white
การออกแบบเครื่องหมาย Gothic (?) script I
Mascot Perro Sultan
1907 67-87
Won pennant, lost in Africa Series
Ownership BearOwnerz Group
Management Bear Management, LLP
Coach Coach Sam
Manager Connie Mack
Media BearChannel
Website www.badnewzbearz.baseball
เครื่องแบบ
Kit baseball cap redbill.png
Kit left arm pinstripesonwhite.png
Kit right arm pinstripesonwhite.png
Kit trousers pinstripesonwhite.png

เหย้า

Kit baseball cap redbill.png

เยือน

{{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              = 
}}

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[แก้]

The HTML mark up produced by this template includes an hCard microformat, which makes the organisation's details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

If the organisation has an "established", "founded", "opened" or similar date, use {{Start date}} or {{Start-date}}.

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.

Tracking category[แก้]