Template:Infobox chess biography/doc: Difference between revisions
en>Davemck m (Clean up duplicate template arguments using findargdups) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:11, 18 January 2023
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox chess biography. It contains usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
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 name | Alexander Sergeyevich Morozevich |
Country | Russia |
Born | Moscow, Russia | July 18, 1977
Title | Grandmaster |
Years active | 1990-present |
FIDE rating | 2758 |
Peak rating | 2788 (July 2008) |
Ranking | No. 10 (September 2012) |
Peak ranking | No. 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 name | Alexander Sergeyevich Morozevich |
Country | Russia |
Born | Moscow, Russia | July 18, 1977
Title | Grandmaster |
Years active | 1990-present |
FIDE rating | 2659 (January 2023) (No. 4 on the April 2007 FIDE ratings list) |
Peak rating | 2762 (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.