Difference between revisions of "Template:DataShipLong"
From Baloogan Campaign Wiki
Line 220: | Line 220: | ||
}} | }} | ||
{{!}}} | {{!}}} | ||
− | {{{!}} class="wikitable sortable" | + | |
+ | {{#rawquery: SELECT COUNT(1) FROM DataMountSensors WHERE ID = '{{ #getdata: ID | DataMount }}'; | 1 | DataMountSensorsCount }} | ||
+ | {|class="wikitable sortable" | ||
+ | |+Sensors | ||
+ | !Name | ||
+ | !Type | ||
+ | !Role | ||
+ | !Max Range (nm) | ||
+ | !Arc | ||
+ | |- | ||
+ | {{ | ||
+ | #loop: varname2 | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataMountSensorsCount }} | ||
+ | | <nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataMountSensors WHERE ID = '{{ #getdata: ID | DataMount }}' ; | {{#var:varname2}} | DataMountSensors}} | ||
+ | {{#rawquery: SELECT * FROM DataSensor WHERE ID = '{{ #getdata: ComponentID | DataMountSensors }}'; | 1 | DataSensor }} | ||
+ | {{#rawquery: SELECT * FROM EnumSensorType WHERE ID = '{{ #getdata: Type | DataSensor }}'; | 1 | EnumSensorType }} | ||
+ | {{#rawquery: SELECT * FROM EnumSensorRole WHERE ID = '{{ #getdata: Role | DataSensor }}'; | 1 | EnumSensorRole }} | ||
+ | {{#rawquery: SELECT * FROM EnumSensorRole WHERE ID = '{{ #getdata: Role | DataSensor }}'; | 1 | EnumSensorRole }} | ||
+ | {{#rawquery: SELECT COUNT(1) FROM DataSensorSensorGroups WHERE ID = '{{ #getdata: ID | DataSensor }}'; | 1 | DataSensorSensorGroupsCount }} | ||
+ | </div> | ||
+ | {{!}}- | ||
+ | {{!}}{{#replace:{{#replace:{{#getdata: Name | DataSensor}}|[|(}}|]|)}} | ||
+ | {{!}}[[{{#getdata: Description | EnumSensorType}}]] | ||
+ | {{!}}{{#getdata: Description | EnumSensorRole}} | ||
+ | {{{!}}class="wikitable sortable" style="display:{{#ifeq: {{#getdata: COUNT(1) | DataSensorSensorGroupsCount }} | 0 | none | inline }};" | ||
{{!}}+Sensors | {{!}}+Sensors | ||
!Name | !Name | ||
!Type | !Type | ||
− | ! | + | !Role |
− | ! | + | !Max Range (nm) |
− | ! | + | {{!}}- |
− | + | {{ | |
+ | #loop: varname3 | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataSensorSensorGroupsCount }} | ||
+ | | <nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataSensorSensorGroups WHERE ID = '{{ #getdata: ID | DataSensor }}' ; | {{#var:varname3}} | DataSensorSensorGroups}} | ||
+ | {{#rawquery: SELECT * FROM DataSensor WHERE ID = '{{ #getdata: ComponentID | DataSensorSensorGroups }}'; | 1 | DataSensor2 }} | ||
+ | {{#rawquery: SELECT * FROM EnumSensorType WHERE ID = '{{ #getdata: Type | DataSensor2 }}'; | 1 | EnumSensorType2 }} | ||
+ | {{#rawquery: SELECT * FROM EnumSensorRole WHERE ID = '{{ #getdata: Role | DataSensor2 }}'; | 1 | EnumSensorRole2 }} | ||
+ | {{#rawquery: SELECT * FROM EnumSensorRole WHERE ID = '{{ #getdata: Role | DataSensor2 }}'; | 1 | EnumSensorRole2 }} | ||
+ | </div> | ||
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}} {{#replace:{{#replace:{{#getdata: Name | DataSensor2}}|[|(}}|]|)}} |
+ | {{!}} [[{{#getdata: Description | EnumSensorType2}}]] | ||
+ | {{!}} {{#getdata: Description | EnumSensorRole2}} | ||
+ | {{!}} {{#getdata: RangeMax | DataSensor2 }} | ||
+ | }} | ||
{{!}}} | {{!}}} | ||
+ | {{!}} {{#getdata: RangeMax | DataSensor }} | ||
+ | }} | ||
+ | |} | ||
+ | |||
+ | |||
{{!}}{{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 }}}} | ||
}} | }} | ||
|} | |} |
Revision as of 02:22, 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
Name | Type | Role | Max Range (nm) | Arc |
---|
Mounts/Stores/Weapons
Mount | ROF | Capacity | Weapons and Sensors | Arc |
---|