Difference between revisions of "Template:Infobox chess biography"
Jump to navigation
Jump to search
imported>Sun Creator (Added 'width: 6em' to full name, means that left column is not to small and prevents splitting to two lines for players with FIDE rating and Peak rating and having much text to the right.) |
imported>SyG (change colour to darker green) |
||
| Line 1: | Line 1: | ||
{| class="infobox vcard" style="font-size: 90%; text-align: left; width: 25em;" | {| class="infobox vcard" style="font-size: 90%; text-align: left; width: 25em;" | ||
|- | |- | ||
| − | ! colspan="2" style="font-size: 120%; text-align: center;" class="fn"| {{{playername}}} | + | ! colspan="2" style="font-size:120%; text-align:center; background:#bfe0bf" class="fn"| {{{playername}}} |
|- | |- | ||
{{#if: {{{image|<noinclude>-</noinclude>}}} | | {{#if: {{{image|<noinclude>-</noinclude>}}} | | ||
Revision as of 18:26, 17 March 2008
| {{{playername}}} | ||
|---|---|---|
| {{{image}}} | ||
| {{{caption}}} | ||
| Full name | {{{birthname}}} | |
| Country | {{{country}}} | |
| Born | {{{datebirth}}} {{{placebirth}}} | |
| Died | {{{datedeath}}} {{{placedeath}}} | |
| Title | {{{title}}} | |
| World Champion | {{{worldchampion}}} | |
| Women's World Champion | {{{womensworldchampion}}} | |
| FIDE rating | {{{rating}}} | |
| Peak rating | {{{peakrating}}} | |
| 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
| {{{playername}}} | ||
|---|---|---|
| Alexander_Morozevich_grandmaster.jpg | ||
| Full name | Alexander Sergeyevich Morozevich | |
| Country | Russia | |
| Born | {{{datebirth}}} {{{placebirth}}} | |
| Title | Grandmaster | |
| FIDE rating | 2758 | |
| Peak rating | 2788 (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):
| {{{playername}}} | ||
|---|---|---|
| Alexander_Morozevich_grandmaster.jpg | ||
| Full name | Alexander Sergeyevich Morozevich | |
| Country | Russia | |
| Born | {{{datebirth}}} {{{placebirth}}} | |
| Title | Grandmaster | |
| FIDE rating | (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. |
id:Templat:Infobox_chess_player mk:Шаблон:Инфокутија Шахист pl:Szablon:Szachista_infobox ro:Template:Infobox chess player ru:Шаблон:Шахматист