Difference between revisions of "Template:Infobox Le Mans driver/doc"
Jump to navigation
Jump to search
imported>DH85868993 (+new parameters) |
imported>Frietjes |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 18: | Line 18: | ||
| Best Finish = | | Best Finish = | ||
| Class Wins = | | Class Wins = | ||
| − | | updated = | + | | updated = |
}} | }} | ||
</pre> | </pre> | ||
| + | * When filling in the updated parameter, use <code><nowiki>{{subst:Date}}</nowiki></code> or <code><nowiki>{{subst:Date|2=mdy}}</nowiki></code>. | ||
| + | == Use as a child template == | ||
| + | {{Infobox person module documentation|Infobox Le Mans driver|Years |Teams |Best Finish|Class Wins }} | ||
| − | == | + | The template may also be used as a subsection of {{tl|Infobox racing driver}} as follows: |
| − | {{Infobox | + | <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 == | ||
{{UF-hcard-person}} | {{UF-hcard-person}} | ||
| − | <includeonly> | + | <includeonly>{{Basepage subpage| |
| − | <!-- | + | <!-- Categories go here and interwikis go in Wikidata. --> |
| − | |||
[[Category:Sports car racing infobox templates|Le Mans]] | [[Category:Sports car racing infobox templates|Le Mans]] | ||
[[Category:Racecar driver infobox templates|Le Mans]] | [[Category:Racecar driver infobox templates|Le Mans]] | ||
| − | }} | + | [[Category:Biographical templates usable as a module|Le Mans]] |
| − | </includeonly> | + | [[Category:Infobox templates with updated parameter]] |
| + | |||
| + | }}</includeonly> | ||
Latest revision as of 16:05, 2 February 2018
| 40px | This is a documentation subpage for Template:Infobox Le Mans driver. It contains usage information, categories and other content that is not part of the original template page. |
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