Difference between revisions of "Template:Infobox chess biography"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
[[Category:Infobox templates|Template:Remove first word]]
imported>Hariboneagle927 (adding medal template) |
|||
| (70 intermediate revisions by 41 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Infobox | |
| − | + | | bodyclass = vcard | |
| − | + | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | |
| − | + | | aboveclass = fn | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{ | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} |
| + | | caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}} | ||
| − | {{ | + | | label1 = Full name |
| − | + | | data1 = {{{full_name|{{{birth_name|{{{birthname|}}}}}}}}} | |
| − | [[ | + | | label2 = Country |
| − | [[ | + | | class2 = adr |
| − | [[ | + | | data2 = {{{country|}}} |
| − | [[ | + | | label3 = Born |
| − | [[ | + | | data3 = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}} |
| − | [[ | + | | label4 = Died |
| − | + | | data4 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}} | |
| − | [ | + | | label5 = Title |
| − | + | | class5 = note | |
| − | </noinclude> | + | | data5 = {{{title|}}} |
| + | | label6 = [[World Chess Championship|World Champion]] | ||
| + | | class6 = note | ||
| + | | data6 = {{{worldchampion|}}} | ||
| + | | label7 = [[Women's World Chess Championship|Women's World Champion]] | ||
| + | | class7 = note | ||
| + | | data7 = {{{womensworldchampion|}}} | ||
| + | | label8 = [[World Correspondence Chess Championship|ICCF World Champion]] | ||
| + | | class8 = note | ||
| + | | data8 = {{{ICCFworldchampion|}}} | ||
| + | | 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|}}}}} | ||
| + | | label10 = [[Elo rating system|Peak rating]] | ||
| + | | data10 = {{{peakrating|}}} | ||
| + | | label11 = [http://ratings.fide.com/toplist.phtml Ranking] | ||
| + | | data11 = {{{ranking|}}} | ||
| + | | label12 = Peak ranking | ||
| + | | data12 = {{{peakranking|}}} | ||
| + | | header20 = {{Infobox medal templates | ||
| + | | title = {{{medaltemplates-title|}}} | ||
| + | | medals = {{{medaltemplates|}}} | ||
| + | | expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}} | ||
| + | }} | ||
| + | | header21 = {{{embedded|{{{module|}}}}}} | ||
| + | }}<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]]
| 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 =
| module3 =
}}
Example usage
| Alexander Morozevich | |
|---|---|
![]() | |
| Full name | Alexander Sergeyevich Morozevich |
| Country | Russia |
| Born | July 18, 1977 Moscow, Russia |
| Title | Grandmaster |
| 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 =
| 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 | |
|---|---|
![]() | |
| Full name | Alexander Sergeyevich Morozevich |
| Country | Russia |
| Born | July 18, 1977 Moscow, Russia |
| Title | Grandmaster |
| FIDE rating | 2659 (December 2025) (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 =
| 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 above documentation is transcluded from Template:Infobox chess biography/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
