Template:Infobox martial artist/doc: Difference between revisions
m (1 revision) |
(No difference)
|
Revision as of 12:59, 18 June 2015
Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
Modules
Some infoboxes are suitable for use as a 'module' in this one. The coding currently only allows for two different modules to be used with this infobox.
Usage
Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
{{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 = | ethnicity = | height = | height_ft = | height_in = | height_cm = | height_footnote = | weight = | weight_lb = | weight_kg = | weight_footnote = | weight_class = | reach = | 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
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 — this person's current nationality - holds a valid passport from this country
- ethnicity —
- height — height, using {{convert}}
- 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 {{convert}}
- 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 {{convert}}
- 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, eg: black belt Karate
- wrestling — level of experience in amateur wrestling, eg: NCAA Division I Wrestling
- years_active — the span of years that the person was active in his/her 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
- module and module2 - Used for embedding other infoboxes into this one.
Example
Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
{{Infobox martial artist | name = Joe Schmo | image = Piratey, vector version.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 = American | height_ft = 6 | height_in = 2 | height_footnote = | weight_lb = 175 | weight_footnote = | weight_class = [[Light heavyweight]] | reach_in = 75 | reach_footnote = | 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
Density of information
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
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
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).
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.
See also
- Template:Infobox martial artist/record (supporting template)
- {{Infobox boxer}}