แม่แบบ:Infobox football club

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

Usage[แก้]

{{ infobox football club
| clubname      = 
| image         = 
| caption       = 
| fullname      = 
| nickname      = 
| shortname     = 
| founded       = 
| dissolved     = 
| ground        = 
| capacity      = 
| owntitle      = 
| owner         = 
| chrtitle      = 
| chairman      = 
| ceo           = 
| mgrtitle      = 
| manager       = 
| league        = 
| season        = 
| position      = 
| kit_alt1      = 
| pattern_la1   = 
| pattern_b1    = 
| pattern_ra1   = 
| pattern_sh1   = 
| pattern_so1   = 
| leftarm1      = 
| body1         = 
| rightarm1     = 
| shorts1       = 
| socks1        = 
| kit_alt2      = 
| pattern_la2   = 
| pattern_b2    = 
| pattern_ra2   = 
| pattern_sh2   = 
| pattern_so2   = 
| leftarm2      = 
| body2         = 
| rightarm2     = 
| shorts2       = 
| socks2        = 
| kit_alt3      = 
| pattern_la3   = 
| pattern_b3    = 
| pattern_ra3   = 
| pattern_sh3   = 
| pattern_so3   = 
| pattern_name3 = 
| leftarm3      = 
| body3         = 
| rightarm3     = 
| shorts3       = 
| socks3        = 
| firstgame     = 
| largestwin    = 
| worstdefeat   = 
| topscorer     = 
| fansgroup     = 
| honours       = 
| American      = 
}}

Example[แก้]

Arsenal
Soccer ball
Arsenal Football Club logo
ชื่อเต็มArsenal Football Club
ฉายาThe Gunners
ก่อตั้ง1886 as Dial Square
สนามEmirates Stadium
Holloway, London
(ความจุ: 60,432)
ประธานสโมสรPeter Hill-Wood
Head CoachArsène Wenger
ลีกPremier League
2005–064th
Red jersey with white sleeves, white shorts, white socks
สีชุดเหย้า
Yellow jersey, dark gray shorts and socks
สีชุดเยือน
Light gray jersey with blue left and pink right sleeves, light green shorts, rose-gray socks
สีชุดที่ 3


{{ infobox football club
| clubname   = Arsenal
| image      = [[image:soccerball.svg|150px|alt=Soccer ball]]
| caption    = Arsenal Football Club logo
| fullname   = Arsenal Football Club
| nickname   = The Gunners
| motto      = ''Victoria Concordia Crescit'' (Victory comes from harmony)
| shortname  = 
| founded    = 1886 as ''Dial Square''
| dissolved  = 
| ground     = [[Emirates Stadium]]<br/>[[Holloway, London|Holloway]], [[London]]
| capacity   = 60,432
| chairman   = [[Peter Hill-Wood]]
| ceo        = Lord Harris of Peckham
| mgrtitle   = Head Coach
| manager    = [[Arsène Wenger]]
| league     = [[Premier League]]
| season     = [[2005-06 FA Premier League|2005–06]]
| position   = 4th
| kit_alt1   = Red jersey with white sleeves, white shorts, white socks
| pattern_la1= |pattern_b1= |pattern_ra1=
| leftarm1=FFFFFF |body1=DD0000 |rightarm1=FFFFFF |shorts1=FFFFFF |socks1=FFFFFF
| kit_alt2   = Yellow jersey, dark gray shorts and socks
| pattern_la2= |pattern_b2= |pattern_ra2=
| leftarm2=FFDE00 |body2=FFDE00 |rightarm2=FFDE00 |shorts2=565656 |socks2=565656
| kit_alt3   = Light gray jersey with blue left and pink right sleeves, light green shorts, rose-gray socks
| pattern_la3= |pattern_b3= |pattern_ra3= |pattern_sh3= |pattern_so3=
| leftarm3=ffcccc |body3=cccccc |rightarm3=ccccff |shorts3=ccffcc |socks3=ddcccc
}}

Parameters[แก้]

All parameters are optional.

  • fullname — The club's complete name.
  • founded — The year the club was founded. Should not be wikilinked.
  • clubname — The commonly-used name of the club.
  • ground — The name of the club's home ground.
  • capacity — The capacity of the club's home ground.
  • image — The official badge/logo of the club. The "|alt=alt text" is for WP:ACCESSIBILITY for the visually impaired; see WP:ALT.
  • caption — Caption for image, if provided.
  • nickname — The club's most common nickname. Extensive lists of nicknames can be discussed in the article itself and the author should use their judgement to select the most appropriate entry for this parameter.
  • motto — The club and/or organization's official motto
  • shortname — A commonly-used abbreviated name for the club.
  • dissolved — The year the club was dissolved. Should not be wikilinked.
  • owntitle — The job title of the owner of the club, e.g. "Owner"
  • owner — The name of the club's owner. Wikilinked only if an article already exists, or one is likely to be created.
  • chrtitle — The job title of the chairman of the club, e.g. "Chairman", "President"
  • chairman — The name of the club's chairman. Wikilinked only if an article already exists, or one is likely to be created.
  • ceo — The name of the club's Chief Executive Officer. Wikilinked only if an article already exists, or one is likely to be created.
  • mgrtitle — The job title of the person in charge of first team affairs, e.g. "Manager", "Head Coach".
  • manager — The name of the person in charge of first team affairs.
  • league — The league in which the club currently plays.
  • season — The last completed competitive league season the club completed.
  • position — The league and position to which season refers.
  • kit_alt1 — Alt text for first kit; see WP:ALT. kit_alt2 and kit_alt3 are similar.

For details on the football kit template syntax, see Template:Football kit.

MLS specific
  • firstgame — clubs's first game
  • largestwin — club's biggest win
  • worstdefeat — club's largest defeat
  • topscorer — club's record goalscorer
  • fansgroup — list of club's supporters groups
  • honours — list of club's honours (e.g. MLS Cup: 2005)
  • Americantrue will switch the box to American spelling and Stadium instead of ground

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.

See also[แก้]


th:แม่แบบ:กล่องข้อมูล สโมสรฟุตบอล th:แม่แบบ:Infobox_football_club