قالب:Infobox sportsperson/doc

من ويكيبيديا، الموسوعه الحره

Template[تعديل]

Laurentia Tan
Tan at a Paralympics celebration ceremony at Cathay Cineleisure Orchard on 20 September 2008
Personal information
Full nameLaurentia Tan Yen Yi
NationalitySingaporean
Born (1979-04-24) 24 ابريل 1979 (age خطأ لوا في وحدة:Age على السطر 669: attempt to call local 'Date' (a nil value).)
Singapore
Sport
CountrySingapore
SportEquestrianism
EventDressage
Achievements and titles
Paralympic finals2008 Summer Paralympics: Individual C'ship Dressage (IA) – Bronze; Individual Freestyle to Music Dressage (IA) – Bronze
Medal record
Dressage
Representing  سينجاپوره
Paralympic Games
Bronze medal – third place 2008 Beijing Individual C'ship Dressage (class IA)
Bronze medal – third place 2008 Beijing Individual Freestyle to Music Dressage (class IA)
{{Infobox sportsperson
| headercolor = 
| name = 
| image = 
| image_size = <!--Only for images narrower than 220 pixels.-->
| caption = 
| birth_name = 
| fullname = 
| nickname = 
| nationality = 
| residence = 
| birth_date = <!-- {{birth date and age|yyyy|mm|dd}} -->
| birth_place = 
| death_date = 
| death_place = 
| height = <!-- {{convert|}} (yyyy) -->
| weight = <!-- {{convert|}} (yyyy) -->
| website        = <!-- {{URL|www.example.com}} -->
| country        = 
| sport          = 
| event          = 
| collegeteam    = 
| club           = 
| team           = 
| turnedpro      = 
| coach          = 
| retired        = 
| coaching       = 
| worlds         = 
| regionals      = 
| nationals      = 
| olympics       = 
| paralympics    = 
| highestranking = 
| pb             = 
| medaltemplates = 
| show-medals    = 
}}

Parameters[تعديل]

Parameter Description
headercolor To change the default color of headers, indicate a color name (e.g., "lightblue", "orange") or a hex triplet (e.g., "#2468A0"). To determine the hex triplet of a color, see "List of colors"; or go to "List of colors#Colors by shade", click on the article associated with the desired color, and look up the hex triplet.
Personal information
name The short or common name of the sportsperson. If this parameter is omitted, the name of the article is used.
image An image of the sportsperson. Type the name of the image file without adding "File:" before it or wikilinking it. Following the discussion at "Wikipedia:Centralized discussion/Image placeholders", if no image is available yet, do not use an image placeholder such as "Replace this image.svg", "Replace this image female.svg" or "Replace this image male.svg".
image_size The image size. Only use this parameter if the image is less than 220 pixels in width. If so, than indicate the image's respective width in pixels, like this: "image_size=200px".
caption A caption for the image displayed.
birth_name The birth name of the sportsperson.
fullname The full name of the sportsperson.
nicknames The sportsperson's common nickname(s). If there is more than one, list the names alphabetically and separate them with commas.
nationality The sportsperson's nationality. Do not use a flag template such as {{flagcountry}} or {{flagicon}}: see "Wikipedia:Manual of Style (icons)#Biographical use".
residence The sportsperson's place of residence. Do not use a flag template such as {{flagcountry}} or {{flagicon}}.
birth_date The sportsperson's birth date. Use {{birth date and age|year|month|day}} for living sportspersons.
birth_place The sportsperson's place of birth. In accordance with "Wikipedia:Manual of Style (icons)#Do not use flags to indicate locations of birth and death", do not use a flag template.
death_date The sportsperson's death date, if applicable. Use {{death date and age|death year|death month|death day|birth year|birth month|birth day}}.
death_place The sportsperson's place of death, if applicable. In accordance with "Wikipedia:Manual of Style (icons)#Do not use flags to indicate locations of birth and death", do not use a flag template.
height The sportsperson's height. Please note the following:
  • If the sportsperson is American, put measurements in feet and inches first, then in meters in parentheses, for example:
    {{convert|6|ft|2|in|m}} — giving "6 feet 2 inches (1.88 m)"
  • If he or she is not American, place measurements in metres first, then in feet and inches in parentheses, for example:
    {{convert|1.70|m|ftin}} — giving "1.70 metres (5 ft 7 in)"
  • If the sportsperson's height stated in a source is the converted measurement, tweak the parameters of the {{convert}} template if required to ensure that this measurement is accurately stated. For example, if a source states that an American athlete is 1.82 m tall, type "{{convert|5|ft|11.7|in|m|2}}" in order to get the result "5 feet 11.7 inches (1.82 m)" (some experimentation using the "Show preview" button may be required). Indicating "{{convert|6|ft|0|in|m}}" which would yield "6 feet 0 inches (1.83 m)" would be inaccurate.
  • After the height, add the year when the height was measured in parentheses; this is particularly important for sportspersons who have not reached their adult height.
  • In line with "Wikipedia:Manual of Style (dates and numbers)#Unit conversions", provide a reference for the information after the year in parentheses, indicating in the footnote both the source and the original units, like this: "[source of information] (original measurement in feet and inches)."
weight The sportsperson's weight.
  • If he or she is American, put measurements in pounds first, then in kilograms in parentheses, for example:
    {{convert|120|lb|kg}} — giving "120 pounds (54 kg)"
  • If he or she is not American, place measurements in kilograms first, then in pounds in parentheses, for example:
    {{convert|62|kg|lb|0}} — giving "62 kilograms (137 lb)"
  • Note that the final zero is necessary for correct rounding of kilogram to pound conversions.
  • After the weight, add the year when the weight was measured in parentheses. Please supply a reference in the same manner as for the sportsperson's height.
website The sportsperson's official website, like this: {{URL|www.example.com}}.
Sport
country The country or countries that the sportsperson represents. Do not use a flag template such as {{flagcountry}} or {{flagicon}}: see "Wikipedia:Manual of Style (icons)#Use of flags for sportspeople".
sport The sport that the sportsperson participates in. Link the name of the sport to a suitable Wikipedia article if one is available, like this: "[[Swimming#Competitive swimming|Swimming]]".
event The event(s) within the sport that the sportsperson specializes in. If there is more than one, list the events alphabetically or numerically and separate them by commas, like this: "[[Breaststroke]], [[freestyle swimming#freestyle]]".
collegeteam The team that the sportsperson belongs or belonged to in his or her college or university.
club The name of the club that the sportsperson belongs to.
team The name of the team the sportsperson belongs to, with the years in parentheses.
turnedpro The date or year that the sportsperson turned professional. In accordance with "Wikipedia:Manual of Style (dates and numbers)", do not add wikilinks to dates or years.
coach The name of the person presently coaching the sportsperson. It is suggested that you indicate the years that this person coached the sportsperson in parentheses after the name, like this: "(1985–1990)"; "(2005–present)".
retired The date or year that the sportsperson retired from sports. In accordance with "Wikipedia:Manual of Style (dates and numbers)", do not add links to dates or years.
coaching The names of notable sportspeople that the sportsperson is now coaching. Only add the names of persons who have Wikipedia articles about them (no red links). If there is more than one person, arrange the names alphabetically by last name and separate them with commas.
Achievements and titles
worlds Significant titles the sportsperson has earned at world or international, regional and national competitions, and at the Olympic or Paralympic Games, for example:

{{Unbulleted list| '''[[Athletics at the 2008 Summer Paralympics|2008 Summer Paralympics]]''': 200&nbsp;m &ndash; Gold |
'''2008 Summer Paralympics''': 400&nbsp;m &ndash; Silver }}


The string "&nbsp;" creates a non-breaking space between the number and the unit: see "Wikipedia:Manual of Style (dates and numbers)#Non-breaking spaces". "&ndash;" creates an en dash; alternatively, insert an en dash using the symbol table that appears below the edit window. {{Unbulleted list}} puts each item on a new line, with semantic and accessible HTML list mark-up.

regionals
nationals
olympics
paralympics
highestranking The sportsperson's highest world ranking with the year when this was achieved in parentheses, like this: "1st (2005)".
pb If applicable, the personal best times the sportsperson has achieved with the years when these were achieved in parentheses, like this:

{{Unbulleted list| '''100&nbsp;m backstroke''': 1:03.17 (2001, '''WR''') |
'''200&nbsp;m butterfly''': 2:12.63 (2003) }}
, using {{Unbulleted list}} to separate multiple items.


The following abbreviations may be used in parentheses after the year:
CR – competition record, NR – national record, OR – Olympic record, PR – Paralympic record, WR – world record.

Medal record
medaltemplates All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}.

Set out the medal templates in the order stated at {{MedalRelatedTemplates}}, and arrange the competitions alphabetically by name.


{{MedalSport|[[swimming#competitive swimming|Men's swimming]]}}
{{MedalCountry|{{SWE}}}}
{{MedalCompetition|[[FINA World Aquatics Championships]]}}
{{MedalSilver|[[2005 World Aquatics Championships|2005 Montreal]]|200&nbsp;m [[breaststroke]]}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Swimming at the 2008 Summer Olympics|100&nbsp;m freestyle]]}}
{{MedalCompetition|[[Pan Pacific Swimming Championships|Pan Pacific Championships]]}}
{{MedalBronze|[[2006 Pan Pacific Swimming Championships|2006 Victoria]]|100&nbsp;m [[butterfly stroke|butterfly]]}}

show-medals If "show-medals=yes", the medal table is displayed. Otherwise, it is hidden and will only be displayed if the "show" link is clicked.
Modules
module
module2
Used for embedding other infoboxes into this one.

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). 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.