Template:Infobox chess biography/doc: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>Davemck
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:11, 18 January 2023

Blank syntax

{{Infobox chess biography
| name        = 
| image       = 
| image_size  = 
| caption     = 
| full_name   = 
| country     = 
| birth_date  = 
| birth_place = 
| death_date  = 
| death_place = 
| title       = 
| worldchampion = 
| womensworldchampion = 
| ICCFworldchampion =
| yearsactive =
| rating      = 
| peakrating  = 
| ranking     = 
| peakranking = 
| FideID      =
<!-- Medal record -->
| show-medals      = 
| medaltemplates   = 
| medaltemplates-title = 
| module           = 
}}

Example usage

Alexander Morozevich
File:Alexander Morozevich grandmaster.jpg
Full nameAlexander Sergeyevich Morozevich
CountryRussia
Born (1977-07-18) July 18, 1977 (age 47)
Moscow, Russia
TitleGrandmaster
Years active1990-present
FIDE rating2758
Peak rating2788 (July 2008)
RankingNo. 10 (September 2012)
Peak rankingNo. 2 (July 2008)
{{Infobox chess biography
| name        = Alexander Morozevich
| image       = Alexander_Morozevich_grandmaster.jpg
| caption     = 
| birthname   = Alexander Sergeyevich Morozevich
| country     = [[Russia]]
| birth_date  = {{birth date and age|1977|7|18}}
| birth_place = [[Moscow]], Russia
| death_date  = 
| death_place = 
| yearsactive = 1990-present
| title       = [[Grandmaster (chess)|Grandmaster]]
| worldchampion = 
| womensworldchampion =
| ICCFworldchampion = 
| rating      = 2758
| peakrating  = 2788 (July 2008)
| ranking     = No. 12 (September 2012)
| peakranking = No. 2 (July 2008)
}}

or alternatively by using the 'FideID' parameter (which uses automatically updated 'rating' data for players rated over 2400):

Alexander Morozevich
File:Alexander Morozevich grandmaster.jpg
Full nameAlexander Sergeyevich Morozevich
CountryRussia
Born (1977-07-18) July 18, 1977 (age 47)
Moscow, Russia
TitleGrandmaster
Years active1990-present
FIDE rating2659 (January 2023)
(No. 4 on the April 2007 FIDE ratings list)
Peak rating2762 (April 2007)
{{Infobox chess biography
| name        = Alexander Morozevich
| image       = Alexander_Morozevich_grandmaster.jpg
| caption     = 
| birthname   = Alexander Sergeyevich Morozevich
| country     = [[Russia]]
| birth_date  = {{birth date and age|1977|7|18}}
| birth_place = [[Moscow]], Russia
| death_date  = 
| death_place = 
| yearsactive = 1990-present
| title       = [[Grandmaster (chess)|Grandmaster]]
| worldchampion = 
| womensworldchampion = 
| ICCFworldchampion = 
| rating      = <br /><small>(No. 4 on the April 2007 FIDE ratings list)</small>
| peakrating  = 2762 (April 2007)
| FideID      = 4116992
}}

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.