Difference between revisions of "Template:Infobox chess biography"

From blackwiki
Jump to navigation Jump to search
imported>Eumat114
m (Added word “elo” to rating)
imported>Hrodvarsson
(Undid revision 935751264 by The Lord of Math (talk) Slightly inaccurate as this parameter would then need to cover live ratings, which is infeasible)
Line 30: Line 30:
 
| label9      = [[FIDE]] [[Elo rating system|rating]]
 
| label9      = [[FIDE]] [[Elo rating system|rating]]
 
| data9        = {{#if:{{Elo rating|ID={{{FideID|}}}}}|[https://ratings.fide.com/card.phtml?event={{{FideID|}}} {{Elo rating|ID={{{FideID}}}}}] {{Elo rating|ID=timestamp}} {{{rating|}}}|{{{rating|}}}}}
 
| data9        = {{#if:{{Elo rating|ID={{{FideID|}}}}}|[https://ratings.fide.com/card.phtml?event={{{FideID|}}} {{Elo rating|ID={{{FideID}}}}}] {{Elo rating|ID=timestamp}} {{{rating|}}}|{{{rating|}}}}}
| label10      = [[Elo rating system|Peak Elo rating]]
+
| label10      = [[Elo rating system|Peak rating]]
 
| data10      = {{{peakrating|}}}
 
| data10      = {{{peakrating|}}}
 
| label11      = [http://ratings.fide.com/toplist.phtml Ranking]
 
| label11      = [http://ratings.fide.com/toplist.phtml Ranking]

Revision as of 05:43, 3 February 2020

Script error: No such module "Wikidata".
Script error: No such module "Wikidata".

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata

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 = 
| module3          = 
}}

Example usage

Alexander Morozevich
Alexander Morozevich grandmaster.jpg
Full nameAlexander Sergeyevich Morozevich
CountryRussia
Born (1977-07-18) July 18, 1977 (age 48)
Moscow, Russia
TitleGrandmaster
FIDE rating2758
Peak rating2788 (July 2008)
RankingNo. 10 (September 2012)
Peak rankingNo. 2 (July 2008)
[[Category:Infobox templates|Template:Remove first word]]
{{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 = 
| title       = [[Grandmaster (chess)|Grandmaster]]
| worldchampion = 
| womensworldchampion =
| ICCFworldchampion = 
| yearsactive = 
| 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
Alexander Morozevich grandmaster.jpg
Full nameAlexander Sergeyevich Morozevich
CountryRussia
Born (1977-07-18) July 18, 1977 (age 48)
Moscow, Russia
TitleGrandmaster
FIDE rating2659 (November 2025)
(No. 4 on the April 2007 FIDE ratings list)
Peak rating2762 (April 2007)
[[Category:Infobox templates|Template:Remove first word]]
{{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 = 
| 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

Template:UF-hcard-person