Difference between revisions of "Template:Infobox Le Mans driver"

From blackwiki
Jump to navigation Jump to search
imported>ZappaOMatic
(+ birth/death dates; it becomes tedious if a driver raced only in Le Mans and doesn't need the racing driver infobox, yet their dates are not available)
imported>ZappaOMatic
(Undid revision 632234829 by ZappaOMati (talk) Huh, it doesn't seem to work)
Line 13: Line 13:
 
| data1      = {{{Nationality|{{{nationality|}}}}}}
 
| data1      = {{{Nationality|{{{nationality|}}}}}}
 
| class1      = category
 
| class1      = category
 
| label2      = Born
 
| data2      = {{br separated entries|{{{birth_name|}}}|{{{birth_date|}}}|{{{birth_place|}}}}}
 
| label3      = Died
 
| data3      = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
 
  
 
| header2    = {{#if:{{{Years|}}}{{{Team(s)|{{{Teams|}}}}}}{{{Best Finish|}}}{{{Class Wins|}}}|[[24 Hours of Le Mans]] career}}
 
| header2    = {{#if:{{{Years|}}}{{{Team(s)|{{{Teams|}}}}}}{{{Best Finish|}}}{{{Class Wins|}}}|[[24 Hours of Le Mans]] career}}
  
| label4     = Participating years
+
| label3     = Participating years
| data4       = {{{Years|}}}
+
| data3       = {{{Years|}}}
| label5     = Teams
+
| label4     = Teams
| data5       = {{{Team(s)|{{{Teams|}}}}}}
+
| data4       = {{{Team(s)|{{{Teams|}}}}}}
| label6     = Best finish
+
| label5     = Best finish
| data6       = {{{Best Finish|}}}
+
| data5       = {{{Best Finish|}}}
| label7     = Class wins
+
| label6     = Class wins
| data7       = {{{Class Wins|}}}
+
| data6       = {{{Class Wins|}}}
| data8       = {{#if:{{{updated|{{{Updated|}}}}}}|''Statistics current as of {{{updated|{{{Updated|}}}}}}.''}}
+
| data7       = {{#if:{{{updated|{{{Updated|}}}}}}|''Statistics current as of {{{updated|{{{Updated|}}}}}}.''}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 03:49, 3 November 2014

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

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

Usage

{{Infobox Le Mans driver
| name        = 
| image       = 
| caption     = 
| nationality = 
| birth_name  =
| birth_date  =
| birth_place =
| death_date  =
| death_place =
| Years       = 
| Teams       = 
| Best Finish = 
| Class Wins  = 
| updated     =
}}
  • When filling in the updated parameter, use {{subst:Date}} or {{subst:Date|2=mdy}}.

Use as a child template

This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.

{{Infobox person
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{Infobox Le Mans driver | child=yes <!-- or embed=yes or subbox=yes -->
  | Years       = 
  | Teams       = 
  | Best Finish = 
  | Class Wins  = 
  | <!-- etc. -->
  }}
}}

The template may also be used as a subsection of {{Infobox racing driver}} as follows:

{{Infobox racing driver
| image           = 
| caption         = 
| nationality     = 
| birth_name      = 
| birth_date      = 
| birth_place     = 
| titles          = 
| title years     = 
| record template1 =
  {{Infobox Le Mans driver|child=yes
  | Years         = 
  | Team(s)       =  
  | Races         = 
  | Championships = 
  }}
}}

Microformat

Template:UF-hcard-person