This is the template sandbox page for Template:Infobox table tennis player (diff). See also the companion subpage for test cases. |
The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline. All content displayed in this template must adhere to the biographies of living persons policy if applicable. Unsourced or poorly sourced contentious material must be removed immediately from the article and its infobox, especially if potentially libellous. |
This template uses Lua: |
{{Infobox table tennis player}} is an infobox for articles about table tennis players.
Usage
edit{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |||
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}}} | ||
Height | {{{height}}} | ||
Weight | {{{weight}}} | ||
Playing style | {{{playingstyle}}} | ||
Equipment(s) | {{{equipment}}} | ||
Disability class | {{{disability_class}}} | ||
Highest ranking | {{{highest_rank}}} | ||
Current ranking | {{{current_rank}}} | ||
Club | {{{club}}} | ||
Medal record
|
{{Infobox table tennis player
| name =
| image =
| image_size = <!-- Only for images narrower than 220 pixels -->
| alt =
| caption =
| native_name =
| native_name_lang =
| full_name = <!-- if different than name -->
| nickname =
| nationality = <!-- use only when necessary per [[WP:INFONAT]] -->
| 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 =
| height = <!-- X ft X in or XXX cm (automatic conversion) -->
| weight = <!-- XXX lb or XX kg (automatic conversion) -->
| playingstyle =
| equipment =
| disability_class =
| highest_rank =
| current_rank =
| club =
| medaltemplates =
| show-medals =
}}
|
Parameters
editField | 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 | The subject's nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used with citizenship when they somehow differ. Should only be used if nationality cannot be inferred from the birthplace. Do not use a flag template. This parameter is not displayed when the national_team parameter is defined. |
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. |
height | The table tennis player's height. If they are American, put measurements in feet & inches such as X ft X in . If they are not American, place measurements in metric units such as XXX cm . The infobox will automatically display the appropriate conversion within parentheses.
|
weight | The table tennis player's weight. If they are American, put measurements in pounds such as XXX lb . If they are not American, place measurements in kilograms, such as XX kg . The infobox will automatically display the appropriate conversion within parentheses.
|
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. |
medaltemplates | All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}.
Use normal order (see Template:MedalTableTop), |
Microformats
editThe 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
editDate-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
edithCard 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.