Difference between revisions of "Template:Infobox Le Mans driver"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Hydrargyrum m (avoid indirect links in template) |
||
| (8 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Infobox |
| − | | child = {{#if:{{{embed|}}}|yes}} | + | | child = {{#if:{{{embed|}}}|yes}}{{{child|}}} |
| + | | subbox = {{{subbox|}}} | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| bodystyle = width: 24em | | bodystyle = width: 24em | ||
| title = {{{name|{{{Name|}}}}}} | | title = {{{name|{{{Name|}}}}}} | ||
| titleclass = fn | | titleclass = fn | ||
| − | | image = {{# | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Image|}}}}}}|size={{{image-size|200px}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}} |
| caption = {{{caption|{{{Caption|}}}}}} | | caption = {{{caption|{{{Caption|}}}}}} | ||
| headerstyle = background-color: gainsboro | | headerstyle = background-color: gainsboro | ||
| Line 13: | Line 14: | ||
| 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|}}}}} | ||
| − | | | + | | header4 = {{#if:{{{Years|}}}{{{Team(s)|{{{Teams|}}}}}}{{{Best Finish|}}}{{{Class Wins|}}}|[[24 Hours of Le Mans]] career}} |
| − | | | + | |
| − | | | + | | label5 = {{abbr|Years|Participating years}} |
| − | | | + | | data5 = {{{Years|}}} |
| − | | | + | | label6 = Teams |
| − | | | + | | data6 = {{{Team(s)|{{{Teams|}}}}}} |
| − | | | + | | label7 = Best finish |
| − | | | + | | data7 = {{{Best Finish|}}} |
| − | | | + | | label8 = Class wins |
| − | }}<noinclude>{{ | + | | data8 = {{{Class Wins|}}} |
| + | | data9 = {{#if:{{{updated|{{{Updated|}}}}}}|''Statistics current as of {{{updated|{{{Updated|}}}}}}.''}} | ||
| + | }}<noinclude> | ||
| + | {{Documentation}} | ||
| + | </noinclude> | ||
Latest revision as of 03:07, 11 November 2018
[[Category:Infobox templates|Template:Remove first word]]
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
| The above documentation is transcluded from Template:Infobox Le Mans driver/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. |