Difference between revisions of "Template:Infobox:Ship"

From Cantr II Wiki
Jump to: navigation, search
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=water|else={{if|test={{{dockstoby|}}}|then=water|else=}}}}|then=Docks to|else=}}
+
| section3 = {{if|test={{if|test={{{docksto|}}}|then=yes|else={{if|test={{{dockstoby|}}}|then=yes|else=}}}}|then=Docks to|else=}}{{if|test={{{docksto|}}}|then=water}}
 
| widths3  = 105
 
| widths3  = 105
 
| item0s3  = Docks to
 
| item0s3  = Docks to

Revision as of 20:52, 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