แม่แบบ:Infobox football club/doc

จากวิกิพีเดีย สารานุกรมเสรี

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
Ground ความจุ60,432
ประธานPeter Hill-Wood
Head CoachArsène Wenger
ลีกPremier League
2005–064th
Yellow jersey, dark gray shorts and socks
สีชุดทีมเยือน
Light gray jersey with blue left and pink right sleeves, light green shorts, rose-gray socks
สีชุดที่สาม


{{ 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 that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Subtemplates

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat include:

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