Шаблон:Infobox table tennis player

Мавод аз Википедиа — донишномаи озод
Jump to navigation Jump to search
{{{name}}}
[[File:{{{image}}}|frameless|upright=1]]
{{{caption}}}
Personal information
Native name {{{native_name}}}
Full name {{{fullname}}}
Nickname(s) {{{nickname}}}
Nationality {{{nationality}}}
Residence {{{residence}}}
Born {{{birth_date}}}
{{{birth_place}}}
Died {{{death_date}}}
{{{death_place}}}
Playing style {{{playingstyle}}}
Equipment(s) {{{equipment}}}
Highest ranking {{{hrank}}}
Current ranking {{{crank}}}
Club {{{club}}}
Height {{{height}}}
Weight {{{weight}}}
[вироиш] Template-info.svg Ҳуҷҷатҳои шаблон
Information.svg Ҳуҷҷатҳо

Usage[вироиш]

{{Infobox table tennis player
| name =
| image =
| image_size = <!-- Only for images narrower than 220 pixels -->
| caption =
| fullname =
| nicknames =
| nationality =
| residence =
| playingstyle=
| equipment =
| hrank=
| crank=
| club =
| birth_date = {{Birth date and age|YYYY|MM|DD}}
| birth_place =
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->, microformat
| death_place =
| height =
| weight =
| medaltemplates =
}}

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).
caption Caption for the image to be displayed.
fullname The full name of the table tennis player as listed in the ITTF database (http://www.ittf.com/ittf_stats/).
nicknames 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.
equipment The table tennis player's equipment used.
hrank The table tennis player's highest rank held.
crank The table tennis player's current rank held.
playingstyle The table tennis player's primary playing style. If there is more than one, list each style alphabetically and separate them by commas.
club The name of the table tennis club the player belongs to.
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 he/she is American, put measurements in feet & inches first, then in meters in parentheses. If he/she is not American, place measurements in meters first, then in feet & inches in parentheses.
weight The table tennis player's weight. If he/she is American, put measurements in pounds first, then in kilograms in parentheses. If he/she is 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.