Difference between revisions of "Template:DataShipLong"

From Baloogan Campaign Wiki
Jump to: navigation, search
Line 272: Line 272:
 
{{!}}}
 
{{!}}}
 
{{!}}{{RenderArc|{{#getdata: SB1 | DataShipMounts }}|{{#getdata: SB2 | DataShipMounts }}|{{#getdata: SMF1 | DataShipMounts }}|{{#getdata: SMF2 | DataShipMounts }}|{{#getdata: SMA1 | DataShipMounts }}|{{#getdata: SMA2 | DataShipMounts }}|{{#getdata: SS1 | DataShipMounts }}|{{#getdata: SS2 | DataShipMounts }}|{{#getdata: PB1 | DataShipMounts }}|{{#getdata: PB2 | DataShipMounts }}|{{#getdata: PMF1 | DataShipMounts }}|{{#getdata: PMF2 | DataShipMounts }}|{{#getdata: PMA1 | DataShipMounts }}|{{#getdata: PMA2 | DataShipMounts }}|{{#getdata: PS1 | DataShipMounts }}|{{#getdata: PS2 | DataShipMounts }}}}
 
{{!}}{{RenderArc|{{#getdata: SB1 | DataShipMounts }}|{{#getdata: SB2 | DataShipMounts }}|{{#getdata: SMF1 | DataShipMounts }}|{{#getdata: SMF2 | DataShipMounts }}|{{#getdata: SMA1 | DataShipMounts }}|{{#getdata: SMA2 | DataShipMounts }}|{{#getdata: SS1 | DataShipMounts }}|{{#getdata: SS2 | DataShipMounts }}|{{#getdata: PB1 | DataShipMounts }}|{{#getdata: PB2 | DataShipMounts }}|{{#getdata: PMF1 | DataShipMounts }}|{{#getdata: PMF2 | DataShipMounts }}|{{#getdata: PMA1 | DataShipMounts }}|{{#getdata: PMA2 | DataShipMounts }}|{{#getdata: PS1 | DataShipMounts }}|{{#getdata: PS2 | DataShipMounts }}}}
 +
}}
 +
|}
 +
 +
 +
====Signatures====
 +
{{#rawquery: SELECT COUNT(1) FROM DataShipSignatures WHERE ID = '{{ #getdata: ID | DataShip }}'; | 1 | DataShipSignaturesCount }}
 +
{|class="wikitable sortable"
 +
!Signature Type
 +
!Front (nm)
 +
!Side (nm)
 +
!Rear (nm)
 +
!Top (nm)
 +
|-
 +
{{
 +
#loop: varname
 +
| 1
 +
| {{#getdata: COUNT(1) | DataShipSignaturesCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataShipSignatures WHERE ID = '{{ #getdata: ID | DataShip }}' ; | {{#var:varname}} | DataShipSignatures }}
 +
{{#rawquery: SELECT * FROM EnumSignatureType WHERE ID = '{{ #getdata: Type | DataShipSignatures }}'; | 1 | EnumSignatureType }}
 +
</div>
 +
{{!}}-
 +
{{!}}[[{{#getdata: Description | EnumSignatureType}}]]
 +
{{!}} {{#getdata: Front | DataShipSignatures}}
 +
{{!}} {{#getdata: Side | DataShipSignatures}}
 +
{{!}} {{#getdata: Rear | DataShipSignatures}}
 +
{{!}} {{#getdata: Top | DataShipSignatures}}
 +
}}
 +
|}
 +
 +
====Comms/Datalinks====
 +
{{#rawquery: SELECT COUNT(1) FROM DataShipComms WHERE ID = '{{ #getdata: ID | DataShip }}'; | 1 | DataShipCommsCount }}
 +
{|class="wikitable sortable"
 +
|+Comms
 +
!Name
 +
!Type
 +
!Range (nm)
 +
!Channels
 +
|-
 +
{{
 +
#loop: varname
 +
| 1
 +
| {{#getdata: COUNT(1) | DataShipCommsCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataShipComms WHERE ID = '{{ #getdata: ID | DataShip }}' ; | {{#var:varname}} | DataShipComms}}
 +
{{#rawquery: SELECT * FROM DataComm WHERE ID = '{{ #getdata: ComponentID | DataShipComms }}'; | 1 | DataComm }}
 +
{{#rawquery: SELECT * FROM EnumCommType WHERE ID = '{{ #getdata: Type | DataComm }}'; | 1 | EnumCommType }}
 +
</div>
 +
{{!}}-
 +
{{!}}{{#replace:{{#replace:{{#getdata: Name | DataComm}}|[|(}}|]|)}}
 +
{{!}}[[{{#getdata: Description | EnumCommType}}]]
 +
{{!}}{{#getdata: MyRange | DataComm}}
 +
{{!}}{{#getdata: Channels | DataComm }}
 +
}}
 +
|}
 +
====Propulsion====
 +
{{#rawquery: SELECT COUNT(1) FROM DataShipPropulsion WHERE ID = '{{ #getdata: ID | DataShip }}'; | 1 | DataShipPropulsionCount }}
 +
{|class="wikitable sortable"
 +
!Engines
 +
!Type
 +
!Loiter Speed (kts)
 +
!Cruise Speed (kts)
 +
!Military Speed (kts)
 +
!Afterburner Speed (kts)
 +
|-
 +
{{
 +
#loop: varname
 +
| 1
 +
| {{#getdata: COUNT(1) | DataShipPropulsionCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataShipPropulsion WHERE ID = '{{ #getdata: ID | DataShip }}' ; | {{#var:varname}} | DataShipPropulsion}}
 +
{{#rawquery: SELECT * FROM DataPropulsion WHERE ID = '{{ #getdata: ComponentID | DataShipPropulsion }}'; | 1 | DataPropulsion }}
 +
{{#rawquery: SELECT * FROM EnumPropulsionType WHERE ID = '{{ #getdata: Type | DataPropulsion }}'; | 1 | EnumPropulsionType }}
 +
{{#rawquery: SELECT MAX(Speed) FROM DataPropulsionPerformance WHERE ID = '{{ #getdata: ID | DataPropulsion }}' AND Throttle='1'; | 1 | DataPropulsionPerformance1 }}
 +
{{#rawquery: SELECT MAX(Speed) FROM DataPropulsionPerformance WHERE ID = '{{ #getdata: ID | DataPropulsion }}' AND Throttle='2'; | 1 | DataPropulsionPerformance2 }}
 +
{{#rawquery: SELECT MAX(Speed) FROM DataPropulsionPerformance WHERE ID = '{{ #getdata: ID | DataPropulsion }}' AND Throttle='3'; | 1 | DataPropulsionPerformance3 }}
 +
{{#rawquery: SELECT MAX(Speed) FROM DataPropulsionPerformance WHERE ID = '{{ #getdata: ID | DataPropulsion }}' AND Throttle='4'; | 1 | DataPropulsionPerformance4 }}
 +
</div>
 +
{{!}}-
 +
{{!}}{{#replace:{{#replace:{{#getdata: Name | DataPropulsion}}|[|(}}|]|)}}
 +
{{!}}[[{{#getdata: Description | EnumPropulsionType}}]]
 +
{{!}} {{#getdata: MAX(Speed) | DataPropulsionPerformance1 | true }}
 +
{{!}} {{#getdata: MAX(Speed) | DataPropulsionPerformance2 | true }}
 +
{{!}} {{#getdata: MAX(Speed) | DataPropulsionPerformance3 | true }}
 +
{{!}} {{#getdata: MAX(Speed) | DataPropulsionPerformance4 | true }}
 +
}}
 +
|}
 +
 +
====Fuel====
 +
{{#rawquery: SELECT COUNT(1) FROM DataShipFuel WHERE ID = '{{ #getdata: ID | DataShip }}'; | 1 | DataShipFuelCount }}
 +
{|class="wikitable sortable"
 +
!Fuel Type
 +
!Quantity (kg)
 +
|-
 +
{{
 +
#loop: varname
 +
| 1
 +
| {{#getdata: COUNT(1) | DataShipFuelCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataShipFuel WHERE ID = '{{ #getdata: ID | DataShip }}' ; | {{#var:varname}} | DataShipFuel }}
 +
{{#rawquery: SELECT * FROM DataFuel WHERE ID = '{{ #getdata: ComponentID | DataShipFuel }}'; | 1 | DataFuel }}
 +
{{#rawquery: SELECT * FROM EnumFuelType WHERE ID = '{{ #getdata: Type | DataFuel }}'; | 1 | EnumFuelType }}
 +
</div>
 +
{{!}}-
 +
{{!}}[[{{#getdata: Description | EnumFuelType}}]]
 +
{{!}}{{#getdata: Capacity | DataFuel}}
 
}}
 
}}
 
|}
 
|}

Revision as of 02:31, 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

Mounts/Stores/Weapons

Mounts
Mount ROF Capacity Weapons and Sensors Arc


Signatures

Signature Type Front (nm) Side (nm) Rear (nm) Top (nm)

Comms/Datalinks

Comms
Name Type Range (nm) Channels

Propulsion

Engines Type Loiter Speed (kts) Cruise Speed (kts) Military Speed (kts) Afterburner Speed (kts)

Fuel

Fuel Type Quantity (kg)