Difference between revisions of "Template:Infobox:Land vehicle"
From Cantr II Wiki
Joshuamonkey (talk | contribs) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox:VehicleBase | <includeonly>{{Infobox:VehicleBase | ||
− | | title = {{if|test={{{land|}}}|then= | + | | title = {{if|test={{{land|}}}|then=land|else=Land}} Vehicle |
| section1 = Capacity | | section1 = Capacity | ||
| widths1 = 105 | | widths1 = 105 | ||
Line 7: | Line 7: | ||
| item1s1 = Total Capacity | | item1s1 = Total Capacity | ||
| info1s1 = {{if|test={{{weight|}}}|then={{{weight|0}}} grams|else={{Inc3}}}} | | info1s1 = {{if|test={{{weight|}}}|then={{{weight|0}}} grams|else={{Inc3}}}} | ||
− | | item2s1 = Real Capacity | + | | item2s1 = {{if|test={{{realcapacity|}}}|then=Real Capacity|else=}} |
− | | info2s1 = {{if|test={{{realcapacity|}}}|then={{{realcapacity|0}}} grams|else= | + | | info2s1 = {{if|test={{{realcapacity|}}}|then={{{realcapacity|0}}} grams|else=}} |
| item3s1 = {{if|test={{{cabins|}}}|then=Cabins and holds|else=}} | | item3s1 = {{if|test={{{cabins|}}}|then=Cabins and holds|else=}} | ||
| info3s1 = {{{cabins}}} | | info3s1 = {{{cabins}}} | ||
Line 21: | Line 21: | ||
| item2s2 = {{if|test={{{engine|}}}|then=Engine|else=}} | | item2s2 = {{if|test={{{engine|}}}|then=Engine|else=}} | ||
| info2s2 = {{if|test={{{engine|}}}|then={{{engine}}}|else=}} | | info2s2 = {{if|test={{{engine|}}}|then={{{engine}}}|else=}} | ||
− | | item3s2 = Weight effect | + | | item3s2 = {{if|test={{{maxspeed|}}}|then=Max speed|else=}} |
− | | | + | | info3s2 = {{if|test={{{maxspeed|}}}|then={{{maxspeed}}}|else=none}} |
+ | | item4s2 = Weight effect | ||
+ | | info4s2 = {{if|test={{{weight effect|}}}|then={{{weight effect}}}|else={{Inc3}}}} | ||
| section3 = {{if|test={{if|test={{{docksto|}}}|then=yes|else={{if|test={{{dockedtoby|}}}|then=yes|else=}}}}|then=Docks to|else=}} | | section3 = {{if|test={{if|test={{{docksto|}}}|then=yes|else={{if|test={{{dockedtoby|}}}|then=yes|else=}}}}|then=Docks to|else=}} | ||
| widths3 = 105 | | widths3 = 105 | ||
Line 29: | Line 31: | ||
| item1s3 = Docked to by | | item1s3 = Docked to by | ||
| info1s3 = {{if|test={{{dockedtoby|}}}|then={{{dockedtoby}}}|else=''nothing''}} | | info1s3 = {{if|test={{{dockedtoby|}}}|then={{{dockedtoby}}}|else=''nothing''}} | ||
− | }}<!-- Vehicle Categories -->{{if|test={{{land|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Land Vehicles|{{{sortingname}}}]]|else=[[Category:Land Vehicles]]}}|else={{if|test={{{sortingname|}}}|then=[[Category:Water Vehicles|{{{sortingname}}}]]|else=[[Category: | + | }}<!-- Vehicle Categories -->{{if|test={{{land|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Land Vehicles|{{{sortingname}}}]]|else=[[Category:Land Vehicles]]}}|else={{if|test={{{sortingname|}}}|then=[[Category:Water Vehicles|{{{sortingname}}}]]|else=[[Category:Land Vehicles]]}}}}</includeonly><!-- Template Categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 17:28, 31 July 2015
{{Infobox:Land vehicle}} allows to detail in a single table, all of the listed information about a vehicle. This template is the same as Template:Infobox:Ship. The article is automatically added to the corresponding subcategory of Vehicles and Water Vehicles or Land Vehicles depending on the values entered. UsageCopy the text below and paste it to the top of the page you are editing. Complete the fields with the information you want to display. Unused fields may be deleted or left incomplete. {{Infobox:Land vehicle | title = | passengers = | weight = | realcapacity = | cabins = | masts = | surfaces = | speed = | engine = | maxspeed = | weight effect = | docksto = | dockedtoby = }} Parameters |