Difference between revisions of "Template:Infobox chess biography"

From blackwiki
Jump to navigation Jump to search
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)
imported>Hariboneagle927
(adding medal template)
 
Line 36: Line 36:
 
| label12      = Peak ranking
 
| label12      = Peak ranking
 
| data12      = {{{peakranking|}}}
 
| data12      = {{{peakranking|}}}
| header20    = {{{embedded|{{{module|}}}}}}
+
| header20 = {{Infobox medal templates
 +
| title  = {{{medaltemplates-title|}}}
 +
| medals = {{{medaltemplates|}}}
 +
| expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}}
 +
}}
 +
| header21     = {{{embedded|{{{module|}}}}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>
 
{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>

Latest revision as of 09:31, 18 June 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