Difference between revisions of "Template:DataWeaponLong"

From Baloogan Campaign Wiki
Jump to: navigation, search
 
(18 intermediate revisions by the same user not shown)
Line 16: Line 16:
  
 
</div>
 
</div>
<img src="http://baloogan.images.blu3wolf.com/weapon_{{ #getdata: ID | DataWeapon }}.jpg" class="baloogan_small_image" id="baloogan_image"/>
+
<img src="http://11rdp.fr/dbimages/weapon_{{ #getdata: ID | DataWeapon }}.jpg" class="baloogan_small_image" id="baloogan_image"/>
 
<div style="min-height:40px;COLOR: #000066; FONT-WEIGHT: bold; FONT-SIZE: 14pt;  BACKGROUND: #eee;  FONT-FAMILY: Arial, Helvetica, sans-serif;BORDER: #ccc 1px solid;">
 
<div style="min-height:40px;COLOR: #000066; FONT-WEIGHT: bold; FONT-SIZE: 14pt;  BACKGROUND: #eee;  FONT-FAMILY: Arial, Helvetica, sans-serif;BORDER: #ccc 1px solid;">
 
<nowiki>#</nowiki>{{ #getdata: ID | DataWeapon }} - {{ #getdata: Name | DataWeapon }} -- {{ #getdata: Comments | DataWeapon }}
 
<nowiki>#</nowiki>{{ #getdata: ID | DataWeapon }} - {{ #getdata: Name | DataWeapon }} -- {{ #getdata: Comments | DataWeapon }}
Line 24: Line 24:
 
__TOC__  
 
__TOC__  
 
| style="vertical-align:top;width=100%;min-width:200px;" |
 
| style="vertical-align:top;width=100%;min-width:200px;" |
{{Description:DB3000_Weapon_{{ #getdata: ID | DataWeapon }}}}
+
{{Description:Weapon_{{ #getdata: ID | DataWeapon }}}}
  
[http://wiki.baloogancampaign.com/index.php/Description:DB3000_Weapon_{{ #getdata: ID | DataWeapon }}?action=edit Edit description]
+
[http://wiki.baloogancampaign.com/index.php/Description:Weapon_{{ #getdata: ID | DataWeapon }}?action=edit Edit description]
 
|}
 
|}
 
====General Data====
 
====General Data====
 +
<div style="height:0px;">
 +
{{#rawquery: SELECT * FROM EnumWeaponGeneration WHERE ID = '{{ #getdata: Generation | DataWeapon }}'; | 1 | EnumWeaponGeneration }}
 +
</div>
 
{|class="wikitable"
 
{|class="wikitable"
 
|'''Type:'''
 
|'''Type:'''
|{{#getdata: Description|EnumWeaponType}}
+
|[[{{#getdata: Description|EnumWeaponType}}]]
 +
|'''Generation:'''
 +
|[[{{#getdata: Description|EnumWeaponGeneration}}]]
 
|-
 
|-
 
|'''Length:'''
 
|'''Length:'''
Line 49: Line 54:
 
|-
 
|-
 
|'''Cruise Altitude:'''
 
|'''Cruise Altitude:'''
|{{#ifeq: {{ #getdata: CruiseAltitude | DataWeapon }} | 0 | | {{ #getdata: CruiseAltitude | DataWeapon }} kg }}  
+
|{{#ifeq: {{ #getdata: CruiseAltitude | DataWeapon }} | 0 | | {{ #getdata: CruiseAltitude | DataWeapon }} m }}  
 
|-
 
|-
 
|'''Waypoint Number:'''
 
|'''Waypoint Number:'''
|{{#ifeq: {{ #getdata: WaypointNumber| DataWeapon }} | 0 | |  {{ #getdata: WaypointNumber| DataWeapon }} kg }}  
+
|{{#ifeq: {{ #getdata: WaypointNumber| DataWeapon }} | 0 | |  {{ #getdata: WaypointNumber| DataWeapon }} waypoints }}  
 
|-
 
|-
 
|'''IlluminationTime:'''
 
|'''IlluminationTime:'''
|{{#ifeq: {{ #getdata: IlluminationTime | DataWeapon }} | 0 | | {{ #getdata: IlluminationTime | DataWeapon }} kg }}  
+
|{{#ifeq: {{ #getdata: IlluminationTime | DataWeapon }} | 0 | | {{ #getdata: IlluminationTime | DataWeapon }} seconds }}  
 
|-
 
|-
 
|'''CEP:'''
 
|'''CEP:'''
Line 103: Line 108:
 
|-
 
|-
 
|'''TargetAltitudeMin:'''
 
|'''TargetAltitudeMin:'''
|{{#ifeq: {{ #getdata: TargetAltitudeMin | DataWeapon }} | 0 | | {{ #getdata: TargetAltitudeMin | DataWeapon }} m }}  
+
|{{#ifeq: {{ #getdata: TargetAltitudeMin | DataWeapon }} | 0 | | {{#expr:{{ #getdata: TargetAltitudeMin | DataWeapon }} * 3.2808}} ft }}  
 
|'''TargetAltitudeMax:'''
 
|'''TargetAltitudeMax:'''
|{{#ifeq: {{ #getdata: TargetAltitudeMax | DataWeapon }} | 0 | | {{ #getdata: TargetAltitudeMax | DataWeapon }} m }}  
+
|{{#ifeq: {{ #getdata: TargetAltitudeMax | DataWeapon }} | 0 | | {{#expr:{{ #getdata: TargetAltitudeMax | DataWeapon }} * 3.2808}} ft }}  
 
|-
 
|-
 
|'''SnapUpDownAltitude:'''
 
|'''SnapUpDownAltitude:'''
Line 142: Line 147:
 
|'''TorpedoRangeFull:'''
 
|'''TorpedoRangeFull:'''
 
|{{#ifeq: {{ #getdata: TorpedoRangeFull | DataWeapon }} | 0 | | {{ #getdata: TorpedoRangeFull | DataWeapon }} }}  
 
|{{#ifeq: {{ #getdata: TorpedoRangeFull | DataWeapon }} | 0 | | {{ #getdata: TorpedoRangeFull | DataWeapon }} }}  
 +
|}
 +
 +
====Warheads====
 +
{{#rawquery: SELECT COUNT(1) FROM DataWeaponWarheads WHERE ID = '{{ #getdata: ID | DataWeapon }}'; | 1 | DataWeaponWarheadsCount }}
 +
{|class="wikitable"
 +
!Name
 +
!ID
 +
!Number
 +
!Damage Points
 +
!Type
 +
!Explosives Type
 +
|-
 +
{{
 +
#loop: WarheadIndex
 +
| 1
 +
| {{#getdata: COUNT(1) | DataWeaponWarheadsCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataWeaponWarheads WHERE ID = '{{ #getdata: ID | DataWeapon }}'; | {{#var:WarheadIndex}} | DataWeaponWarheads}}
 +
{{#rawquery: SELECT * FROM DataWarhead WHERE ID = '{{ #getdata: ComponentID | DataWeaponWarheads }}'; | 1 | DataWarhead }}
 +
{{#rawquery: SELECT * FROM EnumWarheadType WHERE ID = '{{ #getdata: Type | DataWarhead }}'; | 1 | EnumWarheadType }}
 +
{{#rawquery: SELECT * FROM EnumWarheadExplosivesType WHERE ID = '{{ #getdata: ExplosivesType | DataWarhead }}'; | 1 | EnumWarheadExplosivesType }}
 +
</div>
 +
{{!}}-
 +
{{!}} {{#replace:{{#replace:{{#getdata: Name | DataWarhead }}|[|(}}|]|)}}
 +
{{!}} {{#getdata: ID |  DataWarhead }}
 +
{{!}} {{#getdata: NumberOfWarheads |  DataWarhead }}
 +
{{!}} {{#getdata: DamagePoints |  DataWarhead }}
 +
{{!}} [[{{#replace:{{#replace:{{#getdata: Description |  EnumWarheadType }}|[|(}}|]|)}}]]
 +
{{!}} [[{{#replace:{{#replace:{{#getdata: Description |  EnumWarheadExplosivesType }}|[|(}}|]|)}}]]
 +
}}
 
|}
 
|}
  
 
====Properties====
 
====Properties====
 +
{{#rawquery: SELECT COUNT(1) FROM DataWeaponCodes WHERE ID = '{{ #getdata: ID | DataWeapon }}'; | 1 | DataWeaponCodesCount }}
 +
{|class="wikitable"
 +
!Property
 +
|-
 +
{{
 +
#loop: PropertyIndex
 +
| 1
 +
| {{#getdata: COUNT(1) | DataWeaponCodesCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataWeaponCodes WHERE ID = '{{ #getdata: ID | DataWeapon }}'; | {{#var:PropertyIndex}} | DataWeaponCodes}}
 +
{{#rawquery: SELECT * FROM EnumWeaponCode WHERE ID = '{{ #getdata: CodeID | DataWeaponCodes }}'; | 1 | EnumWeaponCode }}
 +
</div>
 +
{{!}}-
 +
{{!}}[[{{#replace:{{#replace:{{#getdata: Description| EnumWeaponCode }}|[|(}}|]|)}}]]
 +
}}
 +
|}
 +
 
====Sensors/EW====
 
====Sensors/EW====
 +
{{#rawquery: SELECT COUNT(1) FROM DataWeaponSensors WHERE ID = '{{ #getdata: ID | DataWeapon }}'; | 1 | DataWeaponSensorsCount }}
 +
{|class="wikitable sortable"
 +
|+Sensors
 +
!Name
 +
!Type
 +
!Role
 +
!Max Range (nm)
 +
!Arc
 +
|-
 +
{{
 +
#loop: SensorIndex
 +
| 1
 +
| {{#getdata: COUNT(1) | DataWeaponSensorsCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataWeaponSensors WHERE ID = '{{ #getdata: ID | DataWeapon }}' ; | {{#var:SensorIndex}} | DataWeaponSensors}}
 +
{{#rawquery: SELECT * FROM DataSensor WHERE ID = '{{ #getdata: ComponentID | DataWeaponSensors }}'; | 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 }}
 +
{{#rawquery: SELECT COUNT(1) FROM DataSensorCapabilities WHERE ID = '{{ #getdata: ID | DataSensor }}'; | 1 | DataSensorCapabilitiesCount }}
 +
</div>
 +
{{!}}-
 +
{{!}} '''[http://wiki.baloogancampaign.com/index.php/DataSensor?ID={{#getdata: ID | DataSensor}} {{#replace:{{#replace:{{#getdata: Name | DataSensor}}|[|(}}|]|)}}]'''
 +
{{!}}[[{{#getdata: Description | EnumSensorType}}]]
 +
{{!}}'''[[{{#replace:{{#replace:{{#getdata: Description | EnumSensorRole}}|[|(}}|]|)}}]]'''
 +
{{{!}}class="wikitable sortable" {{#ifeq: {{#getdata: COUNT(1) | DataSensorCapabilitiesCount }} | 0 | style="display:none;" |  }}
 +
{{!}}-
 +
{{
 +
#loop: SensorCapabilityIndex
 +
| 1
 +
| {{#getdata: COUNT(1) | DataSensorCapabilitiesCount }}
 +
|<nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataSensorCapabilities WHERE ID = '{{ #getdata: ID | DataSensor }}' ; | {{#var:SensorCapabilityIndex}} | DataSensorCapabilities }}
 +
{{#rawquery: SELECT * FROM EnumSensorCapability WHERE ID = '{{ #getdata: CodeID | DataSensorCapabilities }}'; | 1 | EnumSensorCapability  }}
 +
</div>
 +
{{!}}-
 +
{{!}} [[{{#getdata: Description | EnumSensorCapability }}]]
 +
}}
 +
{{!}}}
 +
{{{!}}class="wikitable sortable" {{#ifeq: {{#getdata: COUNT(1) | DataSensorSensorGroupsCount }} | 0 | style="display:none;"  | }}
 +
{{!}}+Sensors
 +
!Name
 +
!Type
 +
!Role
 +
!Max Range (nm)
 +
{{!}}-
 +
{{
 +
#loop: SensorGroupIndex
 +
| 1
 +
| {{#getdata: COUNT(1) | DataSensorSensorGroupsCount }}
 +
| <nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataSensorSensorGroups WHERE ID = '{{ #getdata: ID | DataSensor }}' ; | {{#var:SensorGroupIndex}} | 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 }}
 +
{{#rawquery: SELECT COUNT(1) FROM DataSensorCapabilities WHERE ID = '{{ #getdata: ID | DataSensor2 }}'; | 1 | DataSensorCapabilitiesCount }}
 +
</div>
 +
{{!}}-
 +
{{!}} '''[http://wiki.baloogancampaign.com/index.php/DataSensor?ID={{#getdata: ID | DataSensor2}} {{#replace:{{#replace:{{#getdata: Name | DataSensor2}}|[|(}}|]|)}}]'''
 +
{{!}}[[{{#getdata: Description | EnumSensorType2}}]]
 +
{{!}}'''[[{{#replace:{{#replace:{{#getdata: Description | EnumSensorRole2}}|[|(}}|]|)}}]]'''
 +
{{{!}}class="wikitable sortable" {{#ifeq: {{#getdata: COUNT(1) | DataSensorCapabilitiesCount }} | 0 | style="display:none;" | }}
 +
{{!}}-
 +
{{
 +
#loop: SensorCapabilityIndex
 +
| 1
 +
| {{#getdata: COUNT(1) | DataSensorCapabilitiesCount }}
 +
|<nowiki/><div style="display:none;">
 +
{{#rawquery: SELECT * FROM DataSensorCapabilities WHERE ID = '{{ #getdata: ID | DataSensor2 }}' ; | {{#var:SensorCapabilityIndex}} | DataSensorCapabilities }}
 +
{{#rawquery: SELECT * FROM EnumSensorCapability WHERE ID = '{{ #getdata: CodeID | DataSensorCapabilities }}'; | 1 | EnumSensorCapability  }}
 +
</div>
 +
{{!}}-
 +
{{!}} [[{{#getdata: Description | EnumSensorCapability }}]]
 +
}}
 +
{{!}}}
 +
{{!}}{{#getdata: RangeMax | DataSensor2 }}
 +
}}
 +
{{!}}}
 +
{{!}}{{#getdata: RangeMax | DataSensor }}
 +
{{!}}{{RenderArc|{{#getdata: SB1 | DataWeaponSensors }}|{{#getdata: SB2 | DataWeaponSensors }}|{{#getdata: SMF1 | DataWeaponSensors }}|{{#getdata: SMF2 | DataWeaponSensors }}|{{#getdata: SMA1 | DataWeaponSensors }}|{{#getdata: SMA2 | DataWeaponSensors }}|{{#getdata: SS1 | DataWeaponSensors }}|{{#getdata: SS2 | DataWeaponSensors }}|{{#getdata: PB1 | DataWeaponSensors }}|{{#getdata: PB2 | DataWeaponSensors }}|{{#getdata: PMF1 | DataWeaponSensors }}|{{#getdata: PMF2 | DataWeaponSensors }}|{{#getdata: PMA1 | DataWeaponSensors }}|{{#getdata: PMA2 | DataWeaponSensors }}|{{#getdata: PS1 | DataWeaponSensors }}|{{#getdata: PS2 | DataWeaponSensors }}}}
 +
}}
 +
|}
  
 
====Signatures====
 
====Signatures====
Line 176: Line 312:
 
|}
 
|}
 
====Loadouts====
 
====Loadouts====
 
+
<include wikitext nopre  src="https://render.baloogancampaign.com/weapon_join.php?ID={{ #getdata: ID | DataWeapon }}"/>
<include wikitext nopre  src="http://render.baloogancampaign.com/weapon_join.php?ID={{ #getdata: ID | DataWeapon }}"/>
 
  
 
====Comms/Datalinks====
 
====Comms/Datalinks====

Latest revision as of 02:14, 24 September 2016






<img src="http://11rdp.fr/dbimages/weapon_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 (Comments)

{{Description:Weapon_DataInvoker Error: getData error: No such key in handle (ID)}}

DataInvoker Error: getData error: No such key in handle (ID)?action=edit Edit description

General Data

Type: [[DataInvoker Error: getData error: No such key in handle (Description)]] Generation: [[DataInvoker Error: getData error: No such key in handle (Description)]]
Length: DataInvoker Error: getData error: No such key in handle (Length) m
Span: DataInvoker Error: getData error: No such key in handle (Span) m
Diameter: DataInvoker Error: getData error: No such key in handle (Diameter) m
Weight: DataInvoker Error: getData error: No such key in handle (Weight) kg
Burnout Weight: DataInvoker Error: getData error: No such key in handle (BurnoutWeight) kg
Cruise Altitude: DataInvoker Error: getData error: No such key in handle (CruiseAltitude) m
Waypoint Number: DataInvoker Error: getData error: No such key in handle (WaypointNumber) waypoints
IlluminationTime: DataInvoker Error: getData error: No such key in handle (IlluminationTime) seconds
CEP: DataInvoker Error: getData error: No such key in handle (CEP) %
Air PK: DataInvoker Error: getData error: No such key in handle (AirPoK) %
Surface PK: DataInvoker Error: getData error: No such key in handle (SurfacePoK) %
Subsurface PK: DataInvoker Error: getData error: No such key in handle (SubsurfacePoK) %
ClimbRate: DataInvoker Error: getData error: No such key in handle (ClimbRate) m/s
Air Min Range: DataInvoker Error: getData error: No such key in handle (AirRangeMin) nm Air Max Range: DataInvoker Error: getData error: No such key in handle (AirRangeMax) nm
Surface Min Range: DataInvoker Error: getData error: No such key in handle (SurfaceRangeMin) nm Surface Max Range: DataInvoker Error: getData error: No such key in handle (SurfaceRangeMax) nm
Subsurface Min Range: DataInvoker Error: getData error: No such key in handle (SubsurfaceRangeMin) nm Subsurface Max Range: DataInvoker Error: getData error: No such key in handle (SubsurfaceRangeMax) nm
LaunchSpeedMin: DataInvoker Error: getData error: No such key in handle (LaunchSpeedMin) kts LaunchSpeedMax: DataInvoker Error: getData error: No such key in handle (LaunchSpeedMax) kts
LaunchAltitudeMin: DataInvoker Error: getData error: No such key in handle (LaunchAltitudeMin) m LaunchAltitudeMax: DataInvoker Error: getData error: No such key in handle (LaunchAltitudeMax) m
TargetSpeedMin: DataInvoker Error: getData error: No such key in handle (TargetSpeedMin) kts TargetSpeedMax: DataInvoker Error: getData error: No such key in handle (TargetSpeedMax) kts
TargetAltitudeMin: Expression error: Unexpected < operator. ft TargetAltitudeMax: Expression error: Unexpected < operator. ft
SnapUpDownAltitude: DataInvoker Error: getData error: No such key in handle (SnapUpDownAltitude) m
CanActAsSensor: True
MaxFlightTime: DataInvoker Error: getData error: No such key in handle (MaxFlightTime) sec DetonationDelay: DataInvoker Error: getData error: No such key in handle (DetonationDelay) sec
AllocationAircraftTargets: DataInvoker Error: getData error: No such key in handle (AllocationAircraftTargets) AllocationHelicopterTargets: DataInvoker Error: getData error: No such key in handle (AllocationHelicopterTargets)
AllocationGuidedWeaponTargets: DataInvoker Error: getData error: No such key in handle (AllocationGuidedWeaponTargets) AllocationUnknownAirTargets: DataInvoker Error: getData error: No such key in handle (AllocationUnknownAirTargets)
AllocationUnknownShipTargets: DataInvoker Error: getData error: No such key in handle (AllocationUnknownShipTargets) AllocationUnknownFacilityTargets: DataInvoker Error: getData error: No such key in handle (AllocationUnknownFacilityTargets)
TorpedoSpeedCruise: DataInvoker Error: getData error: No such key in handle (TorpedoSpeedCruise) TorpedoSpeedFull: DataInvoker Error: getData error: No such key in handle (TorpedoSpeedFull)
TorpedoRangeCruise: DataInvoker Error: getData error: No such key in handle (TorpedoRangeCruise) TorpedoRangeFull: DataInvoker Error: getData error: No such key in handle (TorpedoRangeFull)

Warheads

Name ID Number Damage Points Type Explosives Type

Properties

Property

Sensors/EW

Sensors
Name Type Role Max Range (nm) Arc

Signatures

Signature Type Front Side Rear
nm for Visual/Pac dBsm for Radar db for Sonar

Loadouts

ERROR in secure-include.php: could not read the given src URL https://render.baloogancampaign.com/weapon_join.php?ID=<strong class="error">DataInvoker Error: getData error: No such key in handle (ID)</strong>

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)