Template:Infobox martial artist/sandbox
This is the template sandbox page for Template:Infobox martial artist (diff). See also the companion subpage for test cases. |
This template uses Lua: |
- image (P18) (see uses)
Usage
[edit]{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|frameless]] | |||
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} | ||
Died | {{{death_date}}} {{{death_place}}} {{{death_cause}}} | ||
Native name | {{{native_name}}} | ||
Other names | {{{other_names}}} | ||
Residence | {{{residence}}} | ||
Nationality | {{{nationality}}} | ||
Height | {{{height}}} or: {{{height_ft}}} / {{{height_in}}} or: {{{height_cm}}}{{{height_footnote}}} | ||
Weight | {{{weight}}} or: {{{weight_lb}}} or {{{weight_kg}}}{{{weight_footnote}}} | ||
Division | {{{weight_class}}} | ||
Reach | {{{reach}}} or: {{{reach_in}}} or {{{reach_cm}}}{{{reach_footnote}}} | ||
Style | {{{martial_art}}} {{{style}}} | ||
Fighting out of | {{{fighting_out_of}}} | ||
Team | {{{team}}} | ||
Teacher(s) | {{{teacher}}} | ||
Trainer | {{{trainer}}} | ||
Rank | {{{rank}}} | ||
Wrestling | {{{wrestling}}} | ||
Years active | {{{years_active}}} | ||
Professional boxing record | |||
Total | Expression error: Unrecognized punctuation character "&". | ||
Wins | {{{box_win}}} | ||
By knockout | {{{box_kowin}}} | ||
Losses | {{{box_loss}}} | ||
By knockout | {{{box_koloss}}} | ||
Draws | {{{box_draw}}} | ||
No contests | {{{box_nc}}} | ||
Kickboxing record | |||
Total | Expression error: Unrecognized punctuation character "&". | ||
Wins | {{{kickbox_win}}} | ||
By knockout | {{{kickbox_kowin}}} | ||
Losses | {{{kickbox_loss}}} | ||
By knockout | {{{kickbox_koloss}}} | ||
Draws | {{{kickbox_draw}}} | ||
No contests | {{{kickbox_nc}}} | ||
Mixed martial arts record | |||
Total | Expression error: Unrecognized punctuation character "&". | ||
Wins | 1 | ||
By knockout | {{{mma_kowin}}} | ||
By submission | {{{mma_subwin}}} | ||
By decision | {{{mma_decwin}}} | ||
By disqualification | {{{mma_dqwin}}} | ||
Unknown | {{{mma_otherwin}}} | ||
Losses | 1 | ||
By knockout | {{{mma_koloss}}} | ||
By submission | {{{mma_subloss}}} | ||
By decision | {{{mma_decloss}}} | ||
By disqualification | {{{mma_dqloss}}} | ||
Unknown | {{{mma_otherloss}}} | ||
Draws | {{{mma_draw}}} | ||
No contests | {{{mma_nc}}} | ||
Amateur record | |||
Total | Expression error: Unrecognized punctuation character "&". | ||
Wins | {{{am_win}}} | ||
By knockout | {{{am_kowin}}} | ||
By submission | {{{am_subwin}}} | ||
Losses | {{{am_loss}}} | ||
By knockout | {{{am_koloss}}} | ||
By submission | {{{am_subloss}}} | ||
Draws | {{{am_draw}}} | ||
No contests | {{{am_nc}}} | ||
Other information | |||
Occupation | {{{occupation}}} | ||
University | {{{university}}} | ||
Spouse | {{{spouse}}} | ||
Children | {{{children}}} | ||
Notable relatives | {{{relatives}}} | ||
Notable students | {{{students}}} | ||
Notable club(s) | {{{club}}} | ||
Notable school(s) | {{{school}}} | ||
Website | {{{website}}} | ||
Boxing record from BoxRec | |||
Mixed martial arts record from Sherdog | |||
Medal record
| |||
{{{module}}} | |||
{{{module2}}} | |||
{{{footnotes}}} Last updated on: {{{updated}}} |
{{Infobox martial artist
| name =
| image =
| image_size =
| alt =
| caption =
| birth_name =
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place =
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place =
| death_cause =
| native_name =
| native_name_lang =
| other_names =
| residence =
| nationality = <!-- use only when necessary per [[WP:INFONAT]] -->
| ethnicity =
| height = <!-- "X cm" or "X ft Y in" (conversions are automatic) -->
| height_ft =
| height_in =
| height_cm =
| height_footnote =
| weight = <!-- "X kg" or "X lb" (conversions are automatic) -->
| weight_lb =
| weight_kg =
| weight_footnote =
| weight_class =
| reach = <!-- "X cm" or "X in" (conversions are automatic) -->
| reach_in =
| reach_cm =
| reach_footnote =
| martial_art =
| style =
| stance =
| fighting_out_of =
| team =
| teacher =
| trainer =
| rank =
| wrestling =
| years_active =
| box_win =
| box_kowin =
| box_loss =
| box_koloss =
| box_draw =
| box_nc =
| kickbox_win =
| kickbox_kowin =
| kickbox_loss =
| kickbox_koloss =
| kickbox_draw =
| kickbox_nc =
| mma_kowin =
| mma_subwin =
| mma_decwin =
| mma_dqwin =
| mma_otherwin =
| mma_koloss =
| mma_subloss =
| mma_decloss =
| mma_dqloss =
| mma_otherloss =
| mma_draw =
| mma_nc =
| am_win =
| am_kowin =
| am_subwin =
| am_loss =
| am_koloss =
| am_subloss =
| am_draw =
| am_nc =
| occupation =
| university =
| spouse =
| children =
| relatives =
| students =
| club =
| school =
| website = <!-- {{URL|www.example.com}} -->
| boxrec =
| sherdog =
| footnotes =
| medaltemplates =
| show-medals =
| updated =
| module =
| module2 =
}}
Parameters
[edit]Do not use all these parameters for any one person. The list is long to cover a wide range of person. Only use those parameters that convey essential or notable information about the subject. Any parameters left blank or omitted will not be displayed. If a data field has more than one parameter name which can be used, the preferred name is listed first in bold print.
- name: the name of the martial artist
- image: an image of the person (placed using the syntax "imagename.ext")
- image_size: the size of the image (if no value is placed, "frameless" is used)
- alt: see WP:ALT
- caption: a caption to be used with the image
- birth_name: birth name, if different from current name
- birth_date: date of birth, using {{birth date and age}} if alive or {{birth date}} if dead
- birth_place: place of birth, including city, and country
- death_date: date of death, using {{death date and age}}
- death_place: place of death, including city, and country
- death_cause: cause of death
- native_name:
- native_name_lang:
- other_names: other names known by
- residence: current location, including city, and country
- nationality: use only when necessary per WP:INFONAT
- ethnicity:
- height: height, using "X cm" or "X ft Y in"; the infobox will automatically display the appropriate conversion
| height = 5 ft 10 in
→ 5 ft 10 in (178 cm)| height = 180 cm
→ 180 cm (5 ft 11 in)- or height_ft and height_in: Height in feet and inches (without units); will be converted into centimeters
- or height_cm: Height in centimeters (without units); will be converted into feet and inches
- height_footnote: for inline citations, if needed, when using height_ft and height_in or height_m
- weight: weight, using "X kg" or "X lb"; the infobox will automatically display the appropriate conversion
| weight = 130 lb
→ 130 lb (59 kg)| weight = 60 kg
→ 60 kg (132 lb)- or weight_lb: weight in pounds (without units); will be converted into kilograms
- or weight_kg: weight in kilograms (without units); will be converted into pounds
- weight_footnote: for inline citations, if needed, when using weight_lb or weight_kg
- weight_class: weight class (division)
- reach: reach length, using "X cm" or "X in"; the infobox will automatically display the appropriate conversion
| reach = 70 in
→ 70 in (178 cm)| reach = 180 cm
→ 180 cm (71 in)- or reach_in: reach in inches (without units); will be converted into centimeters
- or reach_cm: reach in centimeters (without units); will be converted into inches
- reach_footnote: for inline citations, if needed, when using reach_in or reach_cm
- martial_art:
- style: the name of the martial art style practiced. Do not use this parameter in biographical articles of MMA fighters; please read WP:MMA for further details
- stance: either "orthodox" or "southpaw"
- fighting_out_of: the place the fighter fights out of
- team: name of the team or gym used by the martial artist
- teacher:
- trainer: the person's trainer
- rank: current martial arts ranks and titles, e.g.: black belt Karate
- wrestling: level of experience in amateur wrestling, e.g.: NCAA Division I Wrestling
- years_active: the span of years that the person was active in their career
- Use the format: 2014–2024 or 2014–present
- Boxing career
- box_win: number of fights won under boxing rules
- box_kowin: number of fights won by KO/TKO
- box_loss: number of fights lost
- box_koloss: number of fights lost by KO/TKO
- box_draw: number of draws
- box_nc: number of no contests
- Kickboxing career (including K-1, Muay Thai, Savate, Shoot boxing, etc.)
- kickbox_win: number of fights won under kickboxing rules
- kickbox_kowin: number of fights won by KO/TKO
- kickbox_loss: number of fights lost
- kickbox_koloss: number of fights lost
- kickbox_draw: number of draws
- kickbox_nc: number of no contests
- Mixed martial arts career
- mma_kowin: number of fights won by KO/TKO
- mma_subwin: number of fights won by submission
- mma_decwin: number of fights won by decision
- mma_dqwin: number of fights won by the opponent being disqualified
- mma-otherwin: number of fights won that does not have a method recorded (such as (T)KO, dec, sub, DQ) or is otherwise unknown
- mma_koloss: number of fights lost by KO/TKO
- mma_subloss: number of fights lost by submission
- mma_dqwin: number of fights lost by decision
- mma_dqloss: number of fights lost by being disqualified
- mma_otherloss: number of fights lost that does not have a method recorded (such as (T)KO, dec, sub, DQ) or is otherwise unknown
- mma_draw: number of draws
- mma_nc: number of no contests
- Amateur career
- am_win: number of amateur wins
- am_kowin: number of amateur fights won by KO/TKO
- am_subwin: number of amateur MMA fights won by submission
- am_loss: number of amateur fights lost
- am_koloss: number of amateur fights lost by KO/TKO
- am_draw: number of amateur draws
- am_nc: number of amateur no contests
- occupation: the person's occupation, if retired, state retired
- university: name of university attended by the person
- spouse: name of spouse (linked only if prominent)
- children:
- relatives: notable relatives of the person
- students: notable students of the person
- club: notable clubs of the person (use either club or school)
- school, notable schools of the person (use either club or school)
- website: URL of the person's official website, using {{URL|www.example.com}}
- boxrec: the boxer's ID at boxrec.com
- sherdog: the fighter's ID at sherdog.com
- footnotes: notes
- medaltemplates: All templates from the medal record infobox except
{{MedalTableTop}}
and{{MedalBottom}}
(for more information, see Template:Medal templates documentation) - show-medals: If
show-medals=no
, the medal table is collapsed (by default it is expanded) - updated: date when the infobox was last updated (use
{{subst:Date}}
or{{subst:Date|2=mdy}}
). - module and module2: Used for embedding other infoboxes into this one.
Use as a child template
[edit]The child, embed, and subbox parameters are used when embedding this infobox into another.
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person
| name =
| image =
| caption =
| birth_date =
| birth_place =
| <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
| module =
<nowiki>{{</nowiki>{{{1|{{{template|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>EMBEDDED TEMPLATE NAME</noinclude>}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
| {{{2|{{{example_parameter1|parameter-1}}}}}} =
| {{{3|{{{example_parameter2|parameter-2}}}}}} =
| {{{4|{{{example_parameter3|parameter-3}}}}}} =
| {{{5|{{{example_parameter4|parameter-4}}}}}} =
| <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
}}
}}
Embedding other templates
[edit]The module and module2 parameters are used for embedding other templates into this infobox (see Wikipedia:Infobox modules and Category:Biographical templates usable as a module).
{{Infobox martial artist
| name =
| <!-- etc. -->
| module =
{{Infobox ABC
| embed = yes <!-- or child=yes / subbox=yes-->
| <!-- etc. -->
}}
| module2 =
{{Infobox ABC
| embed = yes <!-- or child=yes / subbox=yes-->
| <!-- etc. -->
}}
}}
Example
[edit]Joe Schmo | |||
---|---|---|---|
Born | Joseph Q. Schmo IV January 1, 1970 New York City, New York, U.S. | ||
Died | June 1, 2007 Chicago, Illinois, U.S. Heart attack | (aged 37)||
Native name | José Schmo | ||
Other names | The Can | ||
Residence | Los Angeles, California, U.S. | ||
Height | 6 ft 2 in (188 cm) [1] | ||
Weight | 175 lb (79 kg; 12 st 7 lb) [2] | ||
Division | Light heavyweight | ||
Reach | 75 in (191 cm) [3] | ||
Style | Drunken boxing, Dim Mak | ||
Stance | Orthodox | ||
Team | Kronk Gym | ||
Teacher(s) | Schmo's teacher | ||
Trainer | Emanuel Steward | ||
Rank | White belt karate | ||
Wrestling | NCAA Division I Wrestling | ||
Years active | 2001–present | ||
Professional boxing record | |||
Total | 4 | ||
Wins | 1 | ||
By knockout | 1 | ||
Losses | 1 | ||
By knockout | 1 | ||
Draws | 1 | ||
No contests | 1 | ||
Kickboxing record | |||
Total | 4 | ||
Wins | 1 | ||
By knockout | 1 | ||
Losses | 1 | ||
By knockout | 1 | ||
Draws | 1 | ||
No contests | 1 | ||
Mixed martial arts record | |||
Total | 12 | ||
Wins | 5 | ||
By knockout | 1 | ||
By submission | 1 | ||
By decision | 1 | ||
By disqualification | 1 | ||
Unknown | 1 | ||
Losses | 5 | ||
By knockout | 1 | ||
By submission | 1 | ||
By decision | 1 | ||
By disqualification | 1 | ||
Unknown | 1 | ||
Draws | 1 | ||
No contests | 1 | ||
Amateur record | |||
Total | 4 | ||
Wins | 1 | ||
By knockout | 1 | ||
By submission | 1 | ||
Losses | 1 | ||
By knockout | 1 | ||
By submission | 1 | ||
Draws | 1 | ||
No contests | 1 | ||
Other information | |||
Occupation | Taxicab driver | ||
University | NYU | ||
Spouse | Jane | ||
Children | 3 | ||
Notable relatives | John Schmo | ||
Notable students | Joe Blow | ||
Notable club(s) | Schmo's club | ||
Notable school(s) | Schmo's school | ||
Website | www | ||
Boxing record from BoxRec | |||
Mixed martial arts record from Sherdog | |||
Medal record
| |||
Schmo's footnotes Last updated on: May 1, 2005 |
{{Infobox martial artist
| name = Joe Schmo
| image = Piratey.svg
| image_size = 150
| alt = Man with red beard in pirate costume holding a sword.
| caption = Joe is a pirate.
| birth_name = Joseph Q. Schmo IV
| birth_date = {{birth date|1970|1|1}}
| birth_place = [[New York City]], New York, U.S.
| death_date = {{death date and age|2007|6|1|1970|1|1}}
| death_place = [[Chicago]], Illinois, U.S.
| death_cause = Heart attack
| native_name = José Schmo
| native_name_lang = Spanish
| other_names = The Can
| residence = [[Los Angeles]], California, U.S.
| nationality =
| height = 6 ft 2 in <ref>footnote for height</ref>
| weight = 175 lb <ref>footnote for weight</ref>
| weight_class = [[Light heavyweight]]
| reach = 75 in <ref>footnote for reach</ref>
| style = [[Drunken boxing]], [[Dim Mak]]
| stance = orthodox
| fighting_out_of =
| team = [[Kronk Gym]]
| teacher = Schmo's teacher
| trainer = [[Emanuel Steward]]
| rank = White belt [[karate]]
| wrestling = NCAA Division I [[Wrestling]]
| years_active = 2001–present
| box_win = 1
| box_kowin = 1
| box_loss = 1
| box_koloss = 1
| box_draw = 1
| box_nc = 1
| kickbox_win = 1
| kickbox_kowin = 1
| kickbox_loss = 1
| kickbox_koloss = 1
| kickbox_draw = 1
| kickbox_nc = 1
| mma_kowin = 1
| mma_subwin = 1
| mma_decwin = 1
| mma_dqwin = 1
| mma_otherwin = 1
| mma_koloss = 1
| mma_subloss = 1
| mma_decloss = 1
| mma_dqloss = 1
| mma_otherloss = 1
| mma_draw = 1
| mma_nc = 1
| am_win = 1
| am_kowin = 1
| am_subwin = 1
| am_loss = 1
| am_koloss = 1
| am_subloss = 1
| am_draw = 1
| am_nc = 1
| occupation = [[Taxicab driver]]
| university = [[NYU]]
| spouse = Jane
| children = 3
| relatives = John Schmo
| students = Joe Blow
| club = Schmo's club
| school = Schmo's school
| website = {{URL|www.example.com}}
| boxrec = 000352
| sherdog = 1500
| footnotes = Schmo's footnotes
| medaltemplates = Schmo's medal templates
| show-medals = yes
| updated = May 1, 2005
| module = module
| module2 = module2
}}
Style guide
[edit]Density of information
[edit]Try to always consider that an infobox exists to support an article and provide a quick synopsis of important facts. This becomes vital when considering that the amount of space available within an infobox is significantly less than that available outside of it. Adding all seventy three nicknames that a fighter might have is highly informative, but will defeat the purpose of the infobox.
Wikilinking
[edit]As per the manual of style entry on linking, years should not be linked as they do not provide much benefit to the user.
Microformat
[edit]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
[edit]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
[edit]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.
Tracking categories
[edit]- Category:Pages using infobox martial artist with unknown parameters (132)
- Category:Pages using infobox martial artist with boxrec parameter different from Wikidata (0)
- Category:Pages using infobox martial artist with boxrec parameter not in Wikidata (22)
- Category:Pages using infobox martial artist with sherdog parameter different from Wikidata (5)
- Category:Pages using infobox martial artist with sherdog parameter not in Wikidata (84)
See also
[edit]- Template:Infobox martial artist/record (supporting template)
- {{Infobox boxer}}