Шаблон:Infobox sports announcer details/doc

Мавод аз Википедиа — донишномаи озод
Jump to navigation Jump to search
Information.svg Ҳуҷҷатҳо

{{Infobox sports announcer details}} may be used to summarize information about a person who provides play-by-play or color commentary for sporting events. It is called from {{infobox person}}.

Usage[вироиш]

The infobox can be added by copying and pasting the template shown below.

{{Infobox person
| name          = 
| image         = 
| image_size    = 
| caption       = 
| 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   = 
| other_names   = 
| website       = {{URL|example.com}}
| signature     = 
| module        = {{ infobox sports announcer details
| team  = 
| genre = 
| sport = 
}}
}}
  • name &ndash; the name of the announcer; usually using the page name, i. e. the common name.
  • image &ndash; optional &ndash; an image of the person. The image must be given in the form "Example.jpg".
  • image_size &ndash; optional &ndash; The size can be adjusted to the editor's choice if 220px is not applicable. The size must be given in the form e.g. "200px". This can only be used if the image attribute is used.
  • caption &ndash; optional &ndash; a descriptive sentence that describes the image. This can only be used if the image attribute is used.
  • birth_name &ndash; optional &ndash; the announcer's birth name.
  • birth_date &ndash; optional &ndash; the date of birth Use {{Birth date and age}} ({{Birth date}} if dead).
  • birth_place &ndash; optional &ndash; the announcer's birthplace.
  • death_date &ndash; optional &ndash; the date of death {{Death date and age}}.
  • death_place &ndash; optional &ndash; the announcer's deathplace.
  • other_names &ndash; optional &ndash; alternate name(s) by which the announcer was known.
  • team &ndash; optional &ndash; the team or teams for which the announcer broadcasts
  • team homepage &ndash; optional &ndash; the announcer's teams' official website(s).
  • genre &ndash; optional &ndash; the genre (i. e., play-by-play, color commentary, sideline updates) in which the announcer broadcasts.
  • sport &ndash; optional &ndash; the sport or sports usually associated with the announcer.
  • website &ndash; optional &ndash; the announcer's official website, or page on the team's website; not the generic team website, per WP:EL. Use {{URL}}
  • signature &ndash; optional &ndash; the file name of the signature of the sports announcer, if available.

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.