Difference between revisions of "Template:DataFacilityLong"
From Baloogan Campaign Wiki
Line 135: | Line 135: | ||
{{!}}{{#getdata: RangeMax | DataSensor }} | {{!}}{{#getdata: RangeMax | DataSensor }} | ||
{{!}}{{RenderArc|{{#getdata: SB1 | DataFacilitySensors }}|{{#getdata: SB2 | DataFacilitySensors }}|{{#getdata: SMF1 | DataFacilitySensors }}|{{#getdata: SMF2 | DataFacilitySensors }}|{{#getdata: SMA1 | DataFacilitySensors }}|{{#getdata: SMA2 | DataFacilitySensors }}|{{#getdata: SS1 | DataFacilitySensors }}|{{#getdata: SS2 | DataFacilitySensors }}|{{#getdata: PB1 | DataFacilitySensors }}|{{#getdata: PB2 | DataFacilitySensors }}|{{#getdata: PMF1 | DataFacilitySensors }}|{{#getdata: PMF2 | DataFacilitySensors }}|{{#getdata: PMA1 | DataFacilitySensors }}|{{#getdata: PMA2 | DataFacilitySensors }}|{{#getdata: PS1 | DataFacilitySensors }}|{{#getdata: PS2 | DataFacilitySensors }}}} | {{!}}{{RenderArc|{{#getdata: SB1 | DataFacilitySensors }}|{{#getdata: SB2 | DataFacilitySensors }}|{{#getdata: SMF1 | DataFacilitySensors }}|{{#getdata: SMF2 | DataFacilitySensors }}|{{#getdata: SMA1 | DataFacilitySensors }}|{{#getdata: SMA2 | DataFacilitySensors }}|{{#getdata: SS1 | DataFacilitySensors }}|{{#getdata: SS2 | DataFacilitySensors }}|{{#getdata: PB1 | DataFacilitySensors }}|{{#getdata: PB2 | DataFacilitySensors }}|{{#getdata: PMF1 | DataFacilitySensors }}|{{#getdata: PMF2 | DataFacilitySensors }}|{{#getdata: PMA1 | DataFacilitySensors }}|{{#getdata: PMA2 | DataFacilitySensors }}|{{#getdata: PS1 | DataFacilitySensors }}|{{#getdata: PS2 | DataFacilitySensors }}}} | ||
+ | }} | ||
+ | |} | ||
+ | ====Mounts==== | ||
+ | {{#rawquery: SELECT COUNT(1) FROM DataFacilityMounts WHERE ID = '{{ #getdata: ID | DataFacility }}'; | 1 | DataFacilityMountsCount }} | ||
+ | {|class="wikitable sortable" | ||
+ | |+ Mounts | ||
+ | !Mount | ||
+ | !ROF | ||
+ | !Capacity | ||
+ | !Weapons, Sensors and Magazine | ||
+ | !Arc | ||
+ | |- | ||
+ | {{ | ||
+ | #loop: MountIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataFacilityMountsCount }} | ||
+ | |<nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataFacilityMounts WHERE ID = '{{ #getdata: ID | DataFacility }}'; | {{#var:MountIndex}} | DataFacilityMounts}} | ||
+ | {{#rawquery: SELECT * FROM DataMount WHERE ID = '{{ #getdata: ComponentID | DataFacilityMounts }}'; | 1 | DataMount }} | ||
+ | {{#rawquery: SELECT COUNT(1) FROM DataMountWeapons WHERE ID = '{{ #getdata: ID | DataMount }}'; | 1 | DataMountWeaponsCount }} | ||
+ | </div> | ||
+ | {{!}}- | ||
+ | {{!}}'''{{#replace:{{#replace:{{#getdata: Name | DataMount}}|[|(}}|]|)}}''' | ||
+ | {{!}}{{#getdata: ROF | DataMount}} | ||
+ | {{!}}{{#getdata: Capacity | DataMount}} | ||
+ | {{!}} | ||
+ | {{{!}} class="wikitable sortable" | ||
+ | {{!}}+Weapons | ||
+ | !Name | ||
+ | !Type | ||
+ | !DefaultLoad | ||
+ | !MaxLoad | ||
+ | !ROF | ||
+ | !Range | ||
+ | !Targets | ||
+ | {{!}}- | ||
+ | {{ | ||
+ | #loop: MountWeaponIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataMountWeaponsCount }} | ||
+ | |<nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataMountWeapons WHERE ID = '{{ #getdata: ID | DataMount }}'; | {{#var:MountWeaponIndex}} | DataMountWeapons}} | ||
+ | {{#rawquery: SELECT * FROM DataWeaponRecord WHERE ID = '{{ #getdata: ComponentID | DataMountWeapons }}'; | 1 | DataWeaponRecord }} | ||
+ | {{#rawquery: SELECT * FROM DataWeapon WHERE ID = '{{ #getdata: ComponentID | DataWeaponRecord }}'; | 1 | DataWeapon }} | ||
+ | {{#rawquery: SELECT * FROM EnumWeaponType WHERE ID = '{{ #getdata: Type | DataWeapon }}'; | 1 | EnumWeaponType }} | ||
+ | {{#rawquery: SELECT COUNT(1) FROM DataWeaponTargets WHERE ID = '{{ #getdata: ID | DataWeapon }}'; | 1 | DataWeaponTargetsCount }} | ||
+ | </div> | ||
+ | {{!}}- | ||
+ | {{!}} '''[http://wiki.baloogancampaign.com/index.php/DataWeapon?ID={{#getdata: ID | DataWeapon}} {{#replace:{{#replace:{{#getdata: Name | DataWeapon}}|[|(}}|]|)}}]''' | ||
+ | {{!}}[[{{#getdata: Description | EnumWeaponType}}]] | ||
+ | {{!}}{{#getdata: DefaultLoad | DataWeaponRecord}} | ||
+ | {{!}}{{#getdata: MaxLoad | DataWeaponRecord}} | ||
+ | {{!}}{{#getdata: ROF | DataWeaponRecord}} | ||
+ | {{!}} | ||
+ | {{{!}} class="wikitable" | ||
+ | ! | ||
+ | !Min | ||
+ | !Max | ||
+ | {{!}}- | ||
+ | {{#ifeq: {{#getdata: AirRangeMax | DataWeapon}} | 0 || | ||
+ | {{!}} '''Air''' | ||
+ | {{!}}{{#getdata: AirRangeMin | DataWeapon}} nm | ||
+ | {{!}}{{#getdata: AirRangeMax | DataWeapon}} nm | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#ifeq: {{#getdata: SurfaceRangeMax | DataWeapon}} | 0 || | ||
+ | {{!}} '''Surface''' | ||
+ | {{!}}{{#getdata: SurfaceRangeMin | DataWeapon}} nm | ||
+ | {{!}}{{#getdata: SurfaceRangeMax | DataWeapon}} nm | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#ifeq: {{#getdata: SubsurfaceRangeMax | DataWeapon}} | 0 || | ||
+ | {{!}} '''Subsurface''' | ||
+ | {{!}}{{#getdata: SubsurfaceRangeMin | DataWeapon}} nm | ||
+ | {{!}}{{#getdata: SubsurfaceRangeMax | DataWeapon}} nm | ||
+ | }} | ||
+ | {{!}}} | ||
+ | {{!}} | ||
+ | {{{!}} class="wikitable" | ||
+ | {{!}}- | ||
+ | {{ | ||
+ | #loop: WeaponTargetIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataWeaponTargetsCount }} | ||
+ | |<nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataWeaponTargets WHERE ID = '{{ #getdata: ID | DataWeapon }}'; | {{#var:WeaponTargetIndex}} | DataWeaponTargets }} | ||
+ | {{#rawquery: SELECT * FROM EnumWeaponTarget WHERE ID = '{{ #getdata: CodeID | DataWeaponTargets }}'; | 1 | EnumWeaponTarget }} | ||
+ | </div> | ||
+ | {{!}}- | ||
+ | {{!}} [[{{#getdata: Description | EnumWeaponTarget}}]] | ||
+ | }} | ||
+ | {{!}}} | ||
+ | }} | ||
+ | {{!}}}{{#rawquery: SELECT COUNT(1) FROM DataMountSensors WHERE ID = '{{ #getdata: ID | DataMount }}'; | 1 | DataMountSensorsCount }} | ||
+ | {{{!}}class="wikitable sortable" {{#ifeq: {{#getdata: COUNT(1) | DataMountSensorsCount }} | 0 | style="display:none;" | }} | ||
+ | {{!}}+Sensors | ||
+ | !Name | ||
+ | !Type | ||
+ | !Role | ||
+ | !Max Range (nm) | ||
+ | {{!}}- | ||
+ | {{ | ||
+ | #loop: MountSensorIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataMountSensorsCount }} | ||
+ | | <nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataMountSensors WHERE ID = '{{ #getdata: ID | DataMount }}' ; | {{#var:MountSensorIndex}} | 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> | ||
+ | {{!}}- | ||
+ | {{!}} '''[http://wiki.baloogancampaign.com/index.php/DataSensor?ID={{#getdata: ID | DataSensor}} {{#replace:{{#replace:{{#getdata: Name | DataSensor}}|[|(}}|]|)}}]''' | ||
+ | {{!}}[[{{#getdata: Description | EnumSensorType}}]] | ||
+ | {{!}}{{#getdata: Description | EnumSensorRole}} | ||
+ | {{{!}}class="wikitable sortable" {{#ifeq: {{#getdata: COUNT(1) | DataSensorSensorGroupsCount }} | 0 | style="display:none;" | }} | ||
+ | {{!}}+Sensors | ||
+ | !Name | ||
+ | !Type | ||
+ | !Role | ||
+ | !Max Range (nm) | ||
+ | {{!}}- | ||
+ | {{ | ||
+ | #loop: MountSensorGroupIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataSensorSensorGroupsCount }} | ||
+ | | <nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataSensorSensorGroups WHERE ID = '{{ #getdata: ID | DataSensor }}' ; | {{#var:MountSensorGroupIndex}} | 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> | ||
+ | {{!}}- | ||
+ | {{!}} '''[http://wiki.baloogancampaign.com/index.php/DataSensor?ID={{#getdata: ID | DataSensor}} {{#replace:{{#replace:{{#getdata: Name | DataSensor2}}|[|(}}|]|)}}]''' | ||
+ | {{!}} [[{{#getdata: Description | EnumSensorType2}}]] | ||
+ | {{!}} {{#getdata: Description | EnumSensorRole2}} | ||
+ | {{!}} {{#getdata: RangeMax | DataSensor2 }} | ||
+ | }} | ||
+ | {{!}}} | ||
+ | {{!}} {{#getdata: RangeMax | DataSensor }} | ||
+ | }} | ||
+ | {{!}}}{{#rawquery: SELECT COUNT(1) FROM DataMountMagazineWeapons WHERE ID = '{{ #getdata: ID | DataMount }}'; | 1 | DataMountMagazineWeaponsCount }} | ||
+ | {{{!}}class="wikitable sortable" {{#ifeq: {{#getdata: COUNT(1) | DataMountMagazineWeaponsCount }} | 0 | style="display:none;" | inline }} | ||
+ | {{!}}+Magazine | ||
+ | !Name | ||
+ | !Type | ||
+ | !DefaultLoad | ||
+ | !MaxLoad | ||
+ | !ROF | ||
+ | !Range | ||
+ | !Targets | ||
+ | {{!}}- | ||
+ | {{ | ||
+ | #loop: MountMagazineIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataMountMagazineWeaponsCount }} | ||
+ | | <nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataMountMagazineWeapons WHERE ID = '{{ #getdata: ID | DataMount }}' ; | {{#var:MountMagazineIndex}} | DataMountMagazineWeapons}} | ||
+ | {{#rawquery: SELECT * FROM DataWeaponRecord WHERE ID = '{{ #getdata: ComponentID | DataMountMagazineWeapons }}'; | 1 | DataWeaponRecord }} | ||
+ | {{#rawquery: SELECT * FROM DataWeapon WHERE ID = '{{ #getdata: ComponentID | DataWeaponRecord }}'; | 1 | DataWeapon }} | ||
+ | {{#rawquery: SELECT * FROM EnumWeaponType WHERE ID = '{{ #getdata: Type | DataWeapon }}'; | 1 | EnumWeaponType }} | ||
+ | {{#rawquery: SELECT COUNT(1) FROM DataWeaponTargets WHERE ID = '{{ #getdata: ID | DataWeapon }}'; | 1 | DataWeaponTargetsCount }} | ||
+ | </div> | ||
+ | {{!}}- | ||
+ | {{!}}{{#replace:{{#replace:{{#getdata: Name | DataWeapon}}|[|(}}|]|)}} | ||
+ | {{!}}[[{{#getdata: Description | EnumWeaponType}}]] | ||
+ | {{!}}{{#getdata: DefaultLoad | DataWeaponRecord}} | ||
+ | {{!}}{{#getdata: MaxLoad | DataWeaponRecord}} | ||
+ | {{!}}{{#getdata: ROF | DataWeaponRecord}} | ||
+ | {{!}} | ||
+ | {{{!}} class="wikitable" | ||
+ | ! | ||
+ | !Min | ||
+ | !Max | ||
+ | {{!}}- | ||
+ | {{#ifeq: {{#getdata: AirRangeMax | DataWeapon}} | 0 || | ||
+ | {{!}} '''Air''' | ||
+ | {{!}}{{#getdata: AirRangeMin | DataWeapon}} nm | ||
+ | {{!}}{{#getdata: AirRangeMax | DataWeapon}} nm | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#ifeq: {{#getdata: SurfaceRangeMax | DataWeapon}} | 0 || | ||
+ | {{!}} '''Surface''' | ||
+ | {{!}}{{#getdata: SurfaceRangeMin | DataWeapon}} nm | ||
+ | {{!}}{{#getdata: SurfaceRangeMax | DataWeapon}} nm | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#ifeq: {{#getdata: SubsurfaceRangeMax | DataWeapon}} | 0 || | ||
+ | {{!}} '''Subsurface''' | ||
+ | {{!}}{{#getdata: SubsurfaceRangeMin | DataWeapon}} nm | ||
+ | {{!}}{{#getdata: SubsurfaceRangeMax | DataWeapon}} nm | ||
+ | }} | ||
+ | {{!}}} | ||
+ | {{!}} | ||
+ | {{{!}} class="wikitable" | ||
+ | {{!}}- | ||
+ | {{ | ||
+ | #loop: WeaponTargetIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataWeaponTargetsCount }} | ||
+ | |<nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataWeaponTargets WHERE ID = '{{ #getdata: ID | DataWeapon }}'; | {{#var:WeaponTargetIndex}} | DataWeaponTargets }} | ||
+ | {{#rawquery: SELECT * FROM EnumWeaponTarget WHERE ID = '{{ #getdata: CodeID | DataWeaponTargets }}'; | 1 | EnumWeaponTarget }} | ||
+ | </div> | ||
+ | {{!}}- | ||
+ | {{!}} [[{{#getdata: Description | EnumWeaponTarget}}]] | ||
+ | }} | ||
+ | {{!}}} | ||
+ | }} | ||
+ | {{!}}} | ||
+ | {{!}}{{RenderArc|{{#getdata: SB1 | DataFacilityMounts }}|{{#getdata: SB2 | DataFacilityMounts }}|{{#getdata: SMF1 | DataFacilityMounts }}|{{#getdata: SMF2 | DataFacilityMounts }}|{{#getdata: SMA1 | DataFacilityMounts }}|{{#getdata: SMA2 | DataFacilityMounts }}|{{#getdata: SS1 | DataFacilityMounts }}|{{#getdata: SS2 | DataFacilityMounts }}|{{#getdata: PB1 | DataFacilityMounts }}|{{#getdata: PB2 | DataFacilityMounts }}|{{#getdata: PMF1 | DataFacilityMounts }}|{{#getdata: PMF2 | DataFacilityMounts }}|{{#getdata: PMA1 | DataFacilityMounts }}|{{#getdata: PMA2 | DataFacilityMounts }}|{{#getdata: PS1 | DataFacilityMounts }}|{{#getdata: PS2 | DataFacilityMounts }}}} | ||
}} | }} | ||
|} | |} |
Revision as of 04:50, 24 January 2014
<img src="http://baloogan.images.blu3wolf.com/facility_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)]] | General Armor: | DataInvoker Error: getData error: No such key in handle (Description) |
Damage Points: | DataInvoker Error: getData error: No such key in handle (DamagePoints) | Mast Height: | DataInvoker Error: getData error: No such key in handle (MastHeight) m |
Length: | DataInvoker Error: getData error: No such key in handle (Length) m | Vehicle/Component Dispersal Radius: | DataInvoker Error: getData error: No such key in handle (Radius) m |
Width: | DataInvoker Error: getData error: No such key in handle (Width) m | Mounts Are Aimpoints: | DataInvoker Error: getData error: No such key in handle (MountsAreAimpoints) m |
Area: | DataInvoker Error: getData error: No such key in handle (Area) m | ||
Crew: | DataInvoker Error: getData error: No such key in handle (Crew) |
Sensors/EW
Name | Type | Role | Max Range (nm) | Arc |
---|
Mounts
Mount | ROF | Capacity | Weapons, Sensors and Magazine | Arc |
---|