แม่แบบ:กล่องข้อมูล นักมวย
กล่องข้อมูล นักมวย |
|---|
| มีการใช้แม่แบบนี้ประมาณ 1,400 หน้าและการแก้ไขอาจทำให้เกิดผลกระทบหรือสังเกตเห็นได้ ควรทดสอบการเปลี่ยนแปลงในกระบะทราย หรือหน้าทดสอบ หรือในหน้าย่อยผู้ใช้ของคุณเอง อนึ่ง อภิปรายเกี่ยวกับการแก้ไขแม่แบบได้ที่หน้าอภิปรายก่อนที่จะนำไปใช้ |
| แม่แบบนี้ใช้ลูอา |
แม่แบบ:กล่องข้อมูล นักมวย ข้อมูลของนักมวยในกรอบด้านข้างของบทความ กล่องข้อมูลมีไว้สำหรับนักมวยปัจจุบันทั้งหมด เกษียณ และเสียชีวิตแล้ว
การใช้งาน
[แก้]{{{name}}} | |||
|---|---|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1|{{{alt}}}]] {{{caption}}} | |||
| เกิด | {{{real_name}}} {{{birth_date}}} {{{birth_place}}} | ||
| เสียชีวิต | {{{death_date}}} {{{death_place}}} | ||
| สัญชาติ | {{{nationality}}} | ||
| ชื่ออื่น | {{{nickname}}} | ||
| สถิติ | |||
| น้ำหนัก | {{{weight}}} | ||
| ส่วนสูง | {{{height}}} | ||
| ช่วงชก | {{{reach}}} | ||
| รูปแบบการชก | {{{style}}} | ||
| สถิติขึ้นชก[1] | |||
| ชกทั้งหมด | {{{total}}} | ||
| ชนะ | {{{wins}}} | ||
| ชนะน็อก | {{{KO}}} | ||
| แพ้ | {{{losses}}} | ||
| เสมอ | {{{draws}}} | ||
| ไม่มีการตัดสิน | {{{no contests}}} | ||
รายการเหรียญรางวัล
| |||
| เว็บไซต์ | {{{website}}} | ||
{{กล่องข้อมูล นักมวย
| name =
| image =
| image_size =
| image_border =
| alt =
| caption =
| real_name =
| nickname =
| weight =
| height = <!-- "X ft Y in" or "X cm" (conversions are automatic) -->
| reach = <!-- "X in" or "X cm" (conversions are automatic) -->
| nationality =
| birth_name =
| birth_date = <!-- {{Birth date and age|year of birth|month of birth|day of birth}} -->
| birth_place =
| death_date = <!-- {{death date and age|year of death|month of death|day of death|year of birth|month of birth|day of birth}} -->
| death_place =
| style =
| boxrec =
| total =
| wins =
| KO =
| losses =
| draws =
| no contests =
| website =
| medaltemplates =
| show-medals =
| embed = <!-- "yes" allows infobox embedding -->
}}
พารามิเตอร์
[แก้]- name — Common name
- image — Image name, if available. Examples: abc.jpg, xpz.png, 123.gif, etc.
- image_size — Size to display image, in px. This parameter should not normally need to be set.
- image_border — set to 1 to add an image border
- alt — Alt text for image. See WP:ALT.
- caption — Caption for image, if needed. Include date of photo, if known.
- real_name — Full name; only use if different from name listed above.
- nickname — Most common nicknames
- weight — Currently published weight class. For retired and dead boxers, most commonly listed weight class (conversions are automatic but {{convert}} may be used)
- height — Listed height (conversions are automatic but {{convert}} may be used)
- reach — Published reach (conversions are automatic but {{convert}} may be used)
- nationality — Nationality, unlinked if the boxer is from a well-known country; do not include a flag icon
- birth_name — Name given at birth
- birth_date — Date of birth, use of {{birth date and age}} (if living) or {{birth date}} (if dead) is encouraged
- birth_place — City of birth, with country if different from nationality
- death_date — Date of death, use {{death date and age}} (if birth date is known) or {{death date}} (if birth date unknown).
- death_place — Place of death
- style — Stance; use either Orthodox or Southpaw
- boxrec — id at http://www.boxrec.com/
- total — Total number of fights
- wins — Total number of wins
- KO — Total number of knockouts
- losses — Total number of losses; include a 0 if they are undefeated
- draws — Total number of draws; leave blank if they have not had a draw
- no contests — Total number of no contests; leave blank if they have not had a no-contest
- medaltemplates — All templates from the medal record infobox except
{{MedalTableTop}}and{{MedalBottom}}. Place the medal templates in the order stated in the medal templates documentation, and arrange the competitions alphabetically by name. - show-medals — If
show-medals=no, the medal table is collapsed. By default, it is expanded. - embed — Setting to
yesallows infobox embedding.
ตัวอย่าง
[แก้]Jameel McCline | |
|---|---|
McCline (left) vs. Samuel Peter, 2007 | |
| เกิด | พฤษภาคม 20, 1970 นครนิวยอร์ก รัฐนิวยอร์ก สหรัฐ |
| สัญชาติ | อเมริกัน |
| ชื่ออื่น | Big Time |
| สถิติ | |
| น้ำหนัก | เฮฟวี่เวท |
| ส่วนสูง | 2 m (6 ft 6 1⁄2 in) |
| ช่วงชก | 2.1 เมตร (83 นิ้ว) |
| รูปแบบการชก | Orthodox |
| สถิติขึ้นชก[1] | |
| ชกทั้งหมด | 57 |
| ชนะ | 41 |
| ชนะน็อก | 24 |
| แพ้ | 13 |
| เสมอ | 3 |
{{กล่องข้อมูล นักมวย
| name = Jameel McCline
| image = Jameel McCline vs. Samuel Peter.jpg
| image_size = 250px
| caption = McCline (left) vs. [[Samuel Peter]], 2007
| nickname = Big Time
| weight = [[เฮฟวี่เวท]]
| height = {{height|m=2}}
| reach = {{convert|2.1|m|in}}
| nationality = อเมริกัน
| birth_date = {{Birth date and age|1970|5|20|mf=y}}
| birth_place = [[นครนิวยอร์ก]] [[รัฐนิวยอร์ก]] สหรัฐ
| style = [[Orthodox stance|Orthodox]]
| boxrec = 8943
| total = 57
| wins = 41
| KO = 24
| losses = 13
| draws = 3
}}
Microformat
[แก้]The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
[แก้]Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
[แก้]hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.