This is the template sandbox page for Template:Infobox chess biography (diff). See also the companion subpage for test cases. |
This template is used on approximately 4,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
- image (P18) (see uses)
Blank syntax edit
{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|{{{image_size}}}|upright=1]] | |||
Full name | {{{full_name}}} | ||
Country | {{{country}}} | ||
Born | {{{birth_date}}} {{{birth_place}}} | ||
Died | {{{death_date}}} {{{death_place}}} | ||
Title | {{{title}}} | ||
World Champion | {{{worldchampion}}} | ||
Women's World Champion | {{{womensworldchampion}}} | ||
ICCF World Champion | {{{ICCFworldchampion}}} | ||
Years active | {{{yearsactive}}} | ||
FIDE rating | {{{rating}}} | ||
Peak rating | {{{peakrating}}} | ||
Ranking | {{{ranking}}} | ||
Peak ranking | {{{peakranking}}} | ||
{{{medaltemplates-title}}}
| |||
{{{module}}} |
{{Infobox chess biography
| name =
| image =
| image_size =
| caption =
| full_name = <!-- if different -->
| 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 edit
Alexander Morozevich | |
---|---|
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 | |
---|---|
Full name | Alexander Sergeyevich Morozevich |
Country | Russia |
Born | Moscow, Russia | July 18, 1977
Title | Grandmaster |
Years active | 1990-present |
FIDE rating | 2659 (May 2024) (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 />(No. 4 on the April 2007 FIDE ratings list)
| peakrating = 2762 (April 2007)
| FideID = 4116992
}}
Microformat edit
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 edit
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 edit
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.