الگو:Infobox table tennis player/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

Usage[ویرایش]

{{Infobox table tennis player
| name =
| image =
| image_size = <!-- Only for images narrower than 220 pixels -->
| caption =
| fullname =
| nicknames =
| nationality =
| residence =
| playingstyle=
| equipment =
| hrank=
| 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.
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 تنیس روی میز}}
{{MedalCountry|{{SWE}}}}
{{MedalGold|بازی‌های المپیک تابستانی ۱۹۹۲|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.

زیرالگوها[ویرایش]

اطلاعات تاریخ تولد، تنها هنگامی در ریزقالب گنجانده می‌شود که {{تاریخ تولد}} یا {{تاریخ تولد و سن}} در جعبه اطلاعات، بکار رفته باشند. (اگر تاریخ قبل از ۱۵۸۳ است از این الگوها استفاده نکنید). بر پایه زندگی‌نامه زندگان در بکار بردن این الگو درباره افراد زنده، محتاط باشید.

برای افزودن نشانی وب، از {{نشانی وب}} استفاده کنید.

خواهشمند است کاربردهای این زیرالگوها را حذف نکنید.

کلاس‌ها[ویرایش]

hCard از کلاس‌های HTML زیر استفاده می‌کند:

  • 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

خواهشمند است این کلاس‌ها را تغییرنام ندهید یا حذف نکنید. عناصر تودرتویی که از آنها استفاده می‌کنند را نیز به حالت جمع‌شده درنیاورید.