Difference between revisions of "Template:DataFacilityLong"

From Baloogan Campaign Wiki
Jump to: navigation, search
Line 349: Line 349:
 
{{!}}}
 
{{!}}}
 
{{!}}{{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 }}}}
 +
}}
 +
|}
 +
 +
====Signatures====
 +
{{#rawquery: SELECT COUNT(1) FROM DataFacilitySignatures WHERE ID = '{{ #getdata: ID | DataFacility }}'; | 1 | DataFacilitySignaturesCount }}
 +
{|class="wikitable sortable"
 +
!Signature Type
 +
!Front (nm)
 +
!Side (nm)
 +
!Rear (nm)
 +
!Top (nm)
 +
|-
 +
{{
 +
#loop: SignatureIndex
 +
| 1
 +
| {{#getdata: COUNT(1) | DataFacilitySignaturesCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataFacilitySignatures WHERE ID = '{{ #getdata: ID | DataFacility }}' ; | {{#var:SignatureIndex}} | DataFacilitySignatures }}
 +
{{#rawquery: SELECT * FROM EnumSignatureType WHERE ID = '{{ #getdata: Type | DataFacilitySignatures }}'; | 1 | EnumSignatureType }}
 +
</div>
 +
{{!}}-
 +
{{!}}[[{{#getdata: Description | EnumSignatureType}}]]
 +
{{!}} {{#getdata: Front | DataFacilitySignatures}}
 +
{{!}} {{#getdata: Side | DataFacilitySignatures}}
 +
{{!}} {{#getdata: Rear | DataFacilitySignatures}}
 +
{{!}} {{#getdata: Top | DataFacilitySignatures}}
 +
}}
 +
|}
 +
 +
====Comms/Datalinks====
 +
{{#rawquery: SELECT COUNT(1) FROM DataFacilityComms WHERE ID = '{{ #getdata: ID | DataFacility }}'; | 1 | DataFacilityCommsCount }}
 +
{|class="wikitable sortable"
 +
|+Comms
 +
!Name
 +
!Type
 +
!Range (nm)
 +
!Channels
 +
|-
 +
{{
 +
#loop: CommIndex
 +
| 1
 +
| {{#getdata: COUNT(1) | DataFacilityCommsCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataFacilityComms WHERE ID = '{{ #getdata: ID | DataFacility }}' ; | {{#var:CommIndex}} | DataFacilityComms}}
 +
{{#rawquery: SELECT * FROM DataComm WHERE ID = '{{ #getdata: ComponentID | DataFacilityComms }}'; | 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 }}
 
}}
 
}}
 
|}
 
|}

Revision as of 04:51, 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

Sensors
Name Type Role Max Range (nm) Arc

Mounts

Mounts
Mount ROF Capacity Weapons, Sensors and Magazine Arc

Signatures

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

Comms/Datalinks

Comms
Name Type Range (nm) Channels