Template:Vehicle: Difference between revisions
From Paperverse
Created page with "<noinclude> {{#template_params:|type (label=Type)|manufacturer (label=Manufacturer)|model (label=Model)|year (label=Manufacturing Year)|length (label=Length)|weight (label=Weight)|speed (label=Max Speed)|capacity (label=Capacity)|status (label=Status)}} </noinclude><includeonly> {{#template_display:_format=infobox}} Category:Vehicle </includeonly>" |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:|type (label=Type)|manufacturer (label=Manufacturer)|model (label=Model)|year (label=Manufacturing Year)|length (label=Length)|weight (label=Weight)|speed (label=Max Speed)|capacity (label=Capacity)|status (label=Status)}} | {{#template_params: | ||
</noinclude><includeonly> | |name (label=Name) | ||
|image (label=Image) | |||
|type (label=Type) | |||
|manufacturer (label=Manufacturer) | |||
|model (label=Model) | |||
|year (label=Manufacturing Year) | |||
|length (label=Length) | |||
|weight (label=Weight) | |||
|speed (label=Max Speed) | |||
|capacity (label=Capacity) | |||
|status (label=Status) | |||
}} | |||
</noinclude> | |||
<includeonly> | |||
{{#template_display:_format=infobox}} | {{#template_display:_format=infobox}} | ||
[[Category:Vehicle]] | [[Category:Vehicle]] | ||
{| class="infobox" style="float: right; margin: 0 0 1em 1em; width: 300px; border: 1px solid #aaa; background: #f9f9f9;" | |||
! colspan="2" style="text-align: center; background-color: #006699; color: white;" | {{{name|{{PAGENAME}}}}} | |||
{{#if:{{{image|}}} | {{!}}- | |||
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}|290px]] | |||
|}} | |||
|- | |||
! Type | |||
| {{{type|}}} | |||
|- | |||
! Manufacturer | |||
| {{{manufacturer}}} | |||
|- | |||
! Model | |||
| {{{model}}} | |||
|- | |||
! Year | |||
| {{{year}}} | |||
|- | |||
! Length | |||
| {{{length}}} | |||
|- | |||
! Weight | |||
| {{{weight}}} | |||
|- | |||
! Speed | |||
| {{{speed}}} | |||
|- | |||
! Capacity | |||
| {{{capacity}}} | |||
|- | |||
! Status | |||
| {{{status}}} | |||
|} | |||
'''{{PAGENAME}}''' is a {{{type}}} of the {{{model}}} model. | |||
</includeonly> | </includeonly> |
Revision as of 15:47, 7 April 2025
This is the "Vehicle" template.
It should be called in the following format:
{{Vehicle |name= |image= |type= |manufacturer= |model= |year= |length= |weight= |speed= |capacity= |status= }}
Edit the page to see the template text.