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

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

การใช้งาน[แก้]

{{กล่องข้อมูล สโมสรฟุตบอล
| clubname      = 
| image         = 
| caption       = 
| fullname      = 
| nickname      = 
| founded       = 
| dissolved     = 
| ground        = 
| capacity      = 
| coordinates   = 
| owntitle      = 
| owner         = 
| chrtitle      = 
| chairman      = 
| mgrtitle      = 
| manager       = 
| league        = 
| season        = 
| position      = 
| website       = 
| 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        = 
}}

ตัวอย่าง[แก้]

Infobox Rovers
Football.svg
Infobox Rovers Football Club Logo
ชื่อเต็มInfobox Rovers Football Club
ฉายาTemplates
ก่อตั้ง2001 as Infobox Rovers
สนามANZ Stadium
Ground ความจุ83,500
Ground พิกัด33°50′50″S 151°3′48″E / 33.84722°S 151.06333°E / -33.84722; 151.06333พิกัดภูมิศาสตร์: 33°50′50″S 151°3′48″E / 33.84722°S 151.06333°E / -33.84722; 151.06333
ประธานJimmy Wales
หัวหน้าผู้ฝึกสอนTemplator Infoboxer
ลีกWikileague Annual
2013–14Wikileague Div 2, 1st
เว็บไซต์เว็บไซต์สโมสร
Red and blue thin stripes
สีชุดทีมเยือน
Light gray jersey with blue left and pink right sleeves, light green shorts, rose-gray socks
สีชุดที่สาม
| clubname    = Infobox Rovers
| image       = [[File:Football.svg]]
| caption     = Infobox Rovers Football Club logo
| fullname    = Infobox Rovers Football Club
| nickname    = Templates
| founded     = 2001 as ''Infobox Rovers''
| dissolved   = 
| ground      = [[ANZ Stadium]]
| coordinates = {{coord|33|50|50|S|151|3|48|E|display=it}}
| capacity    = 83,500
| chairman    = [[Jimmy Wales]]
| mgrtitle    = หัวหน้าผู้ฝึกสอน
| manager     = Templator Infoboxer
| league      = Wikileague Annual
| season      = 2013–14
| position    = Wikileague Div 2, 1st
| website     = http://en.wikipedia.org/
| kit_alt1    = Yellow jersey with black sleeves
| pattern_la1 = 
| pattern_b1  = 
| pattern_ra1 = 
| leftarm1    = 000000
| body1       = FFD700
| rightarm1   = 000000
| shorts1     = 000000
| socks1      = 000000
| kit_alt2    = Red and blue thin stripes
| pattern_la2 = 
| pattern_b2  = _fcbarcelona1112H
| pattern_ra2 = 
| pattern_sh2 = _fcbarcelona1112h
| pattern_so2 = 
| leftarm2    = 0000BB
| body2       = 0000BB
| rightarm2   = 0000BB
| shorts2     = 0000BB
| socks2      = 0000BB
| 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
}}

ตัวแปร[แก้]

ตัวแปรทั้งหมดที่มีให้เลือก

  • 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.

ดูเพิ่ม[แก้]