Difference between revisions of "Template:DataShipLong"

From Baloogan Campaign Wiki
Jump to: navigation, search
Line 70: Line 70:
 
|Crew:
 
|Crew:
 
|{{ #getdata: Crew | DataShip }}
 
|{{ #getdata: Crew | DataShip }}
 +
|}
 +
 +
====Properties====
 +
{{#rawquery: SELECT COUNT(1) FROM DataShipCodes WHERE ID = '{{ #getdata: ID | DataShip }}'; | 1 | DataShipCodesCount }}
 +
{|class="wikitable"
 +
!Property
 +
|-
 +
{{
 +
#loop: varname
 +
| 1
 +
| {{#getdata: COUNT(1) | DataShipCodesCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataShipCodes WHERE ID = '{{ #getdata: ID | DataShip }}'; | {{#var:varname}} | DataShipCodes}}
 +
{{#rawquery: SELECT * FROM EnumShipCode WHERE ID = '{{ #getdata: CodeID | DataShipCodes }}'; | 1 | EnumShipCode }}
 +
</div>
 +
{{!}}-
 +
{{!}}[[{{#replace:{{#replace:{{#getdata: Description| EnumShipCode }}|[|(}}|]|)}}]]
 +
}}
 
|}
 
|}
  

Revision as of 02:13, 23 January 2014










<img src="http://baloogan.images.blu3wolf.com/ship_DataInvoker Error: getData error: No such key in handle (ID).jpg" class="baloogan_small_image" id="baloogan_image" />

#DataInvoker Error: getData error: No such key in handle (ID) - DataInvoker Error: getData error: No such key in handle (Name) -- DataInvoker Error: getData error: No such key in handle (Description) (DataInvoker Error: getData error: No such key in handle (Description)), DataInvoker Error: getData error: No such key in handle (YearCommissioned)-DataInvoker Error: getData error: No such key in handle (YearDecommissioned), DataInvoker Error: getData error: No such key in handle (Comments)

General Data

Category: [[DataInvoker Error: getData error: No such key in handle (Description)]] Max Sea State: DataInvoker Error: getData error: No such key in handle (MaxSeaState)
Type: [[DataInvoker Error: getData error: No such key in handle (Description)]] Troop Capacity: DataInvoker Error: getData error: No such key in handle (TroopCapacity)
Damage Points: DataInvoker Error: getData error: No such key in handle (DamagePoints) Cargo Capacity: DataInvoker Error: getData error: No such key in handle (CargoCapacity)
Length: DataInvoker Error: getData error: No such key in handle (Length) m Pier / Dock / Davit Size: DataInvoker Error: getData error: No such key in handle (Description)
Beam: DataInvoker Error: getData error: No such key in handle (Beam) m
Draft: DataInvoker Error: getData error: No such key in handle (Draft) m
Height: DataInvoker Error: getData error: No such key in handle (Height) m
Empty Displacement: DataInvoker Error: getData error: No such key in handle (DisplacementEmpty) tons
Standard Displacement: DataInvoker Error: getData error: No such key in handle (DisplacementStandard) tons
Full Displacement: DataInvoker Error: getData error: No such key in handle (DisplacementFull) tons
Crew: DataInvoker Error: getData error: No such key in handle (Crew)

Properties

Property

Sensors/EW

Sensors
Name Type Role Max Range (nm) Arc