Template:Infobox table tennis player/doc

From IxWiki
Revision as of 16:30, 25 April 2020 by >Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{Infobox table tennis player}} is an infobox for articles about table tennis players.

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Personal information
Native name{{{native_name}}}
Full name{{{full_name}}}
Nickname(s){{{nickname}}}
Nationality{{{nationality}}}
Residence{{{residence}}}
Born{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Playing style{{{playingstyle}}}
Equipment(s){{{equipment}}}
Disability class{{{disability_class}}}
Highest ranking{{{highest_rank}}}
Current ranking{{{current_rank}}}
Club{{{club}}}
Height{{{height}}}
Weight{{{weight}}}
{{Infobox table tennis player
| name             = 
| image            = 
| image_size       = <!-- Only for images narrower than 220 pixels -->
| alt              = 
| caption          = 
| native_name      = 
| native_name_lang = 
| full_name        = 
| nickname         = 
| nationality      = 
| residence        = 
| 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      = 
| playingstyle     = 
| equipment        = 
| disability_class =
| highest_rank     = 
| current_rank     = 
| club             = 
| height           = <!-- {{convert|X|ft|X|in|cm|abbr=on}} or {{convert|XXX|cm|ftin|frac=2|abbr=on}} -->
| weight           = <!-- {{convert|XXX|lb|kg st|abbr=on}} or {{convert|XX|kg|lb st|abbr=on}} -->
| medaltemplates   = 
| show-medals      = 
}}

Parameters

Field Description
name The common name of the table tennis player.
image An image of the table tennis player.
image_size The image size; only use if the image is smaller than 255px in width. If so, than put the image's respective width in pixels (e.g.: image_size=200px).
alt Alternative text for the image to be displayed, see [[WP:ALT]}.
caption Caption for the image to be displayed.
full_name
fullname
The full name of the table tennis player as listed in the ITTF database (http://www.ittf.com/ittf_stats/).
nickname The table tennis player's common nickname in italics. If there is more than one, list each name alphabetically and separate them by commas.
nationality Place {{flagcountry|COUNTRY}} here, and replace "COUNTRY" with the name of the country that corresponds to the table tennis player's nationality. For a list of countries, see Category:Flag templates.
residence The table tennis player's residence.
birth_name The table tennis player's birth name, if different from current name (e.g. maiden name).
birth_date The table tennis player's birthdate. Use {{birth date and age|year|month|day}} for living table tennis player.
birth_place The table tennis player's birthplace.
death_date The table tennis player's date of death, if applicable.
death_place The table tennis player's place of death, if applicable.
playingstyle The table tennis player's primary playing style. If there is more than one, list each style alphabetically and separate them by commas.
equipment The table tennis player's equipment used.
disability_class The disability sport classification(s) that the para table tennis player competes under.
highest_rank
hrank
The table tennis player's highest rank held.
current_rank
crank
The table tennis player's current rank held.
club The name of the table tennis club the player belongs to.
height The table tennis player's height. If they are American, put measurements in feet & inches first, then in metric units in parentheses. If they are not American, place measurements in metric units first, then in feet & inches in parentheses.
weight The table tennis player's weight. If they are American, put measurements in pounds first, then in kilograms in parentheses. If they are not American, place measurements in kilograms first, then in pounds in parentheses.
medaltemplates All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}.

Use normal order (see Template:MedalTableTop,
{{MedalSport|Men's table tennis}}
{{MedalCountry|{{SWE}}}}
{{MedalGold|1992 Barcelona|Singles}}
.

Microformats

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.

Tracking category

See also