Difference between revisions of "Template:Infobox WRC driver"

From blackwiki
Jump to navigation Jump to search
imported>Prolog
m (shortened)
imported>Pelmeen10
 
(29 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{| class="infobox vcard" style="float: right; margin: 0 0 1em 1em; width: 24em; font-size: 90%; text-align: left; background: #F7F7F7;" cellspacing="1"
+
{{Infobox
|-
+
| child      = {{#if:{{{embed|}}}|yes}}{{{child|}}}
! colspan="2" style="text-align: center; font-size: larger; color:#4b4b4b; background:LightSteelBlue;" class="fn" | {{{Name|[[list of World Rally Championship drivers|WRC driver]]}}}
+
| subbox      = {{{subbox|}}}
|-
+
| bodyclass  = vcard
| colspan="2" style="text-align: center;" | {{{Image|[[Image:No image.png]]}}}<br />{{{Caption|}}}
+
| bodystyle  = width: 24em
|-
+
| headerstyle = background: gainsboro
| colspan="2" style="text-align: center;" | '''[[World Rally Championship]] record'''
+
 
|- style="vertical-align: top;"
+
| title  = {{{name|}}}
! {{ #if: {{{Nationality|}}} | Nationality |}}
+
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}}
| {{ #if: {{{Nationality|}}} | <span class="category">{{{Nationality}}}</span> |}}
+
| caption = {{{caption|}}}
|- style="vertical-align: top;"
+
 
! Active years
+
| header1 = {{#if:{{{nationality|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}|Personal information}}
| {{{Years}}}
+
 
|- style="vertical-align: top;"
+
| label2 = Nationality
! Teams
+
| data2  = {{{nationality|}}}
| {{{Teams}}}
+
| label3 = Born
|- style="vertical-align: top;"
+
| data3  = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}} }}
! Rallies
+
| label4 = Died
| {{{Races|0}}}
+
| data4  = {{br separated entries|{{{death_date|}}}|{{{death_place|}}} }}  
|- style="vertical-align: top;"
+
 
! [[list of World Rally Championship Drivers' Champions|Championships]]
+
| header9 = {{#if:{{{Years|}}}{{{Co-driver|}}}{{{Teams|}}}{{{Races|}}}{{{Championships|}}}{{{Wins|}}}{{{Podiums|}}}{{{Points|}}}{{{First race|}}}{{{First win|}}}{{{Last win|}}}{{{Last race|}}}|[[World Rally Championship]] record}}
| {{{Championships|0}}}
+
 
|- style="vertical-align: top;"
+
| label10 = Racing licence
! [[list of World Rally Championship records|Rally wins]]
+
| data10  = {{{Racing licence|{{{Licence|}}}}}}
| {{{Wins|0}}}
+
 
|- style="vertical-align: top;"
+
| label11 = Active years
! Podiums
+
| data11  = {{{Years|}}}
|{{{Podiums|0}}}
+
 
|- style="vertical-align: top;"
+
| label12 = Co-driver
! Stage wins
+
| data12  = {{{Co-driver|}}}
| {{{Stagewins|0}}}
+
 
|- style="vertical-align: top;"
+
| label13 = Driver
! Total points
+
| data13  = {{{Driver|}}}
| {{{Points|0}}}
+
 
|- style="vertical-align: top;"
+
| label14 = Teams
! {{ #if: {{{First race|}}} | First rally |}}
+
| data14  = {{{Teams|}}}
| {{ #if: {{{First race|}}} |{{{First race}}} |}}
+
 
|- style="vertical-align: top;"
+
| label15 = Rallies
! {{ #if: {{{First win|}}} | First win |}}
+
| data15  = {{{Races|}}}
| {{ #if: {{{First win|}}} |{{{First win}}} |}}
+
 
|- style="vertical-align: top;"
+
| label16 = [[List of World Rally Championship Drivers' champions|Championships]]
! {{ #if: {{{Last win|}}} | Last win |}}
+
| data16  = {{{Championships|}}}
| {{ #if: {{{Last win|}}} | {{{Last win}}} |}}
+
 
|- style="vertical-align: top;"
+
| label17 = [[List of World Rally Championship event winners|Rally wins]]
! {{ #if: {{{Last race|}}} | Last rally |}}
+
| data17  = {{{Wins|}}}
| {{ #if: {{{Last race|}}} |{{{Last race}}} |}}
+
 
|}<noinclude>{{documentation}}</noinclude>
+
| label18 = Podiums
 +
| data18  = {{{Podiums|}}}
 +
 
 +
| label19 = Stage wins
 +
| data19  = {{{Stagewins|}}}
 +
 
 +
| label21 = Total points
 +
| data21  = {{{Points|}}}
 +
 
 +
| label23 = First rally
 +
| data23  = {{{First race|}}}
 +
 
 +
| label24 = First win
 +
| data24  = {{{First win|}}}
 +
 
 +
| label25 = Last win
 +
| data25  = {{{Last win|}}}
 +
 
 +
| label26 = Last rally
 +
| data26  = {{{Last race|}}}
 +
 
 +
| below = {{#if:{{{updated|{{{Updated|}}}}}}|Last updated on: {{{updated|{{{Updated|}}}}}}.}}
 +
}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 22:14, 20 October 2018

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

Template documentation[create]