Difference between revisions of "Template:Infobox:Ship"

From Cantr II Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{{Infobox:VehicleBase
 
<includeonly>{{Infobox:VehicleBase
| title    = {{if|test={{{water|}}}|then=Water|else=Land}} Vehicle  
+
| title    = {{if|test={{{land|}}}|then=land|else=Water}} Vehicle  
 
| section1 = Capacity
 
| section1 = Capacity
 
| widths1  = 105
 
| widths1  = 105
Line 23: Line 23:
 
| item3s2  = Weight effect
 
| item3s2  = Weight effect
 
| info3s2  = {{if|test={{{weight effect|}}}|then={{{weight effect}}}|else={{Inc3}}}}
 
| info3s2  = {{if|test={{{weight effect|}}}|then={{{weight effect}}}|else={{Inc3}}}}
| section3 = {{if|test={{if|test={{{docksto|}}}|then=yes|else={{if|test={{{dockstoby|}}}|then=yes|else=}}}}|then=Docks to|else=}}{{if|test={{{docksto|}}}|then=water}}
+
| section3 = {{if|test={{if|test={{{docksto|}}}|then=yes|else={{if|test={{{dockstoby|}}}|then=yes|else=}}}}|then=Docks to|else=}}
 
| widths3  = 105
 
| widths3  = 105
 
| item0s3  = Docks to
 
| item0s3  = Docks to

Revision as of 20:53, 17 November 2010

Template documentation[ view ] [ discuss ] [edit]

{{Infobox:Ship}} allows to detail in a single table, all of the listed information about a vehicle. This template is the same as Template:Infobox:Land vehicle.

The article is automatically added to the corresponding subcategory of Vehicles and Water Vehicles or Land Vehicles depending on the values entered.

Usage

Copy 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:Ship
| title         = 
| passengers    = 
| weight        = 
| realcapacity  = 
| cabins        = 
| masts         = 
| surfaces      = 
| speed         = 
| engine        = 
| weight effect = 
| docksto       = 
| dockedtoby    = 
}}

Parameters