แม่แบบ:Infobox baseball team

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

Syntax[แก้]

The Bad News Bears
Old Teddy Bear.jpg
ลีกKBO (Northside Division)
สถานที่Kuala Lumpur
สนามเบสบอลEstadio Latinoamericano
ปีที่ก่อตั้ง1961
Year Folded2012
ฉายาLos pericos
แชมป์ลีก1963, 2008
แชมป์World Series1989
Japan Series championships1974, 2004
ชื่อในอดีตConstruction workers
Former league(s)Players League
Former ballparksShibe Park
สีRoyal blue, pink and white
การออกแบบเครื่องหมายGothic (?) script I
MascotPerro Sultan
190767-87
Won pennant, lost in Africa Series
OwnershipBearOwnerz Group
ManagementBear Management, LLP
CoachCoach Sam
ManagerConnie Mack
MediaBearChannel
Websitewww.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.

Sub-templates[แก้]

  • If the organisation has an "established", "founded", "opened" or similar date, use {{start date}} (unless the date is before 1583 CE).
  • If the organisation has a URL, use {{URL}}.
  • If the organisation has a "coordinates" field, use {{coord}} to include a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.

Please do not remove instances of these sub-templates.

Classes[แก้]

hCard uses HTML classes including:

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

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

Tracking category[แก้]