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

From blackwiki
Jump to navigation Jump to search
imported>DH85868993
(+new parameters)
imported>DH85868993
(→‎Use as a child template: +{{Infobox racing driver}} example)
Line 24: Line 24:
 
== Use as a child template ==
 
== Use as a child template ==
 
{{Infobox person module documentation|Infobox LeMans driver|Years      |Teams      |Best Finish|Class Wins }}
 
{{Infobox person module documentation|Infobox LeMans driver|Years      |Teams      |Best Finish|Class Wins }}
 +
 +
The template may also be used as a subsection of {{tl|Infobox racing driver}} as follows:
 +
<pre>
 +
{{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 =
 +
  }}
 +
}}
 +
</pre>
  
 
== Microformat ==
 
== Microformat ==

Revision as of 12:07, 4 November 2014

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     = 
}}

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 LeMans 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