Difference between revisions of "Template:DataFacilityLong"
From Baloogan Campaign Wiki
Line 350: | Line 350: | ||
{{!}}} | {{!}}} | ||
{{!}}{{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 }}}} | {{!}}{{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 }}}} | ||
+ | }} | ||
+ | |} | ||
+ | |||
+ | ====Magazines==== | ||
+ | {{#rawquery: SELECT COUNT(1) FROM DataFacilityMagazines WHERE ID = '{{ #getdata: ID | DataFacility }}'; | 1 | DataFacilityMagazinesCount }} | ||
+ | {|class="wikitable sortable" | ||
+ | !Name | ||
+ | !Capacity | ||
+ | !Content | ||
+ | |- | ||
+ | {{ | ||
+ | #loop: MagazineIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataFacilityMagazinesCount }} | ||
+ | | <nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataFacilityMagazines WHERE ID = '{{ #getdata: ID | DataFacility }}' ; | {{#var:MagazineIndex}} | DataFacilityMagazines }} | ||
+ | {{#rawquery: SELECT * FROM DataMagazine WHERE ID = '{{ #getdata: ComponentID | DataFacilityMagazines }}'; | 1 | DataMagazine }} | ||
+ | {{#rawquery: SELECT COUNT(1) FROM DataMagazineWeapons WHERE ID = '{{ #getdata: ID | DataMagazine }}'; | 1 | DataMagazineWeaponsCount }} | ||
+ | </div> | ||
+ | {{!}}- | ||
+ | {{!}} {{#getdata: Name | DataMagazine}} | ||
+ | {{!}} {{#getdata: Capacity | DataMagazine}} | ||
+ | {{!}} | ||
+ | {{{!}}class="wikitable sortable" {{#ifeq: {{#getdata: COUNT(1) | DataMagazineWeaponsCount }} | 0 | style="display:none;" | }} | ||
+ | !Name | ||
+ | !Type | ||
+ | !DefaultLoad | ||
+ | !MaxLoad | ||
+ | !ROF | ||
+ | !Range | ||
+ | !Targets | ||
+ | {{!}}- | ||
+ | {{ | ||
+ | #loop: MagazineWeaponIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataMagazineWeaponsCount }} | ||
+ | | <nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataMagazineWeapons WHERE ID = '{{ #getdata: ID | DataMagazine }}' ; | {{#var:MagazineWeaponIndex}} | DataMagazineWeapons}} | ||
+ | {{#rawquery: SELECT * FROM DataWeaponRecord WHERE ID = '{{ #getdata: ComponentID | DataMagazineWeapons }}'; | 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}}]] | ||
+ | }} | ||
+ | {{!}}} | ||
+ | }} | ||
+ | {{!}}} | ||
}} | }} | ||
|} | |} |
Revision as of 05:04, 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) |
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 |
---|
Magazines
Name | Capacity | Content |
---|
Signatures
Signature Type | Front (nm) | Side (nm) | Rear (nm) | Top (nm) |
---|
Comms/Datalinks
Name | Type | Range (nm) | Channels |
---|
Fuel
Fuel Type | Quantity (kg) |
---|