Difference between revisions of "Template:DataSubmarineLong"
From Baloogan Campaign Wiki
Line 386: | Line 386: | ||
{{!}}} | {{!}}} | ||
{{!}}{{RenderArc|{{#getdata: SB1 | DataSubmarineMounts }}|{{#getdata: SB2 | DataSubmarineMounts }}|{{#getdata: SMF1 | DataSubmarineMounts }}|{{#getdata: SMF2 | DataSubmarineMounts }}|{{#getdata: SMA1 | DataSubmarineMounts }}|{{#getdata: SMA2 | DataSubmarineMounts }}|{{#getdata: SS1 | DataSubmarineMounts }}|{{#getdata: SS2 | DataSubmarineMounts }}|{{#getdata: PB1 | DataSubmarineMounts }}|{{#getdata: PB2 | DataSubmarineMounts }}|{{#getdata: PMF1 | DataSubmarineMounts }}|{{#getdata: PMF2 | DataSubmarineMounts }}|{{#getdata: PMA1 | DataSubmarineMounts }}|{{#getdata: PMA2 | DataSubmarineMounts }}|{{#getdata: PS1 | DataSubmarineMounts }}|{{#getdata: PS2 | DataSubmarineMounts }}}} | {{!}}{{RenderArc|{{#getdata: SB1 | DataSubmarineMounts }}|{{#getdata: SB2 | DataSubmarineMounts }}|{{#getdata: SMF1 | DataSubmarineMounts }}|{{#getdata: SMF2 | DataSubmarineMounts }}|{{#getdata: SMA1 | DataSubmarineMounts }}|{{#getdata: SMA2 | DataSubmarineMounts }}|{{#getdata: SS1 | DataSubmarineMounts }}|{{#getdata: SS2 | DataSubmarineMounts }}|{{#getdata: PB1 | DataSubmarineMounts }}|{{#getdata: PB2 | DataSubmarineMounts }}|{{#getdata: PMF1 | DataSubmarineMounts }}|{{#getdata: PMF2 | DataSubmarineMounts }}|{{#getdata: PMA1 | DataSubmarineMounts }}|{{#getdata: PMA2 | DataSubmarineMounts }}|{{#getdata: PS1 | DataSubmarineMounts }}|{{#getdata: PS2 | DataSubmarineMounts }}}} | ||
+ | }} | ||
+ | |} | ||
+ | |||
+ | ====Magazines==== | ||
+ | {{#rawquery: SELECT COUNT(1) FROM DataSubmarineMagazines WHERE ID = '{{ #getdata: ID | DataSubmarine }}'; | 1 | DataSubmarineMagazinesCount }} | ||
+ | {|class="wikitable sortable" | ||
+ | !Name | ||
+ | !Capacity | ||
+ | !Content | ||
+ | |- | ||
+ | {{ | ||
+ | #loop: MagazineIndex | ||
+ | | 1 | ||
+ | | {{#getdata: COUNT(1) | DataSubmarineMagazinesCount }} | ||
+ | | <nowiki/><div style="display:none;"> | ||
+ | {{#rawquery: SELECT * FROM DataSubmarineMagazines WHERE ID = '{{ #getdata: ID | DataSubmarine }}' ; | {{#var:MagazineIndex}} | DataSubmarineMagazines }} | ||
+ | {{#rawquery: SELECT * FROM DataMagazine WHERE ID = '{{ #getdata: ComponentID | DataSubmarineMagazines }}'; | 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 | ||
+ | {{!}}- | ||
+ | {{ | ||
+ | #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 }} | ||
+ | </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 | ||
+ | }} | ||
+ | {{!}}} | ||
+ | }} | ||
+ | {{!}}} | ||
}} | }} | ||
|} | |} |
Revision as of 23:51, 23 January 2014
<img src="http://baloogan.images.blu3wolf.com/submarine_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 Depth: | DataInvoker Error: getData error: No such key in handle (MaxDepth) |
Type: | [[DataInvoker Error: getData error: No such key in handle (Description)]] | Pier / Dock / Davit Size: | DataInvoker Error: getData error: No such key in handle (Description) |
Damage Points: | DataInvoker Error: getData error: No such key in handle (DamagePoints) | ROV Operating Radius: | DataInvoker Error: getData error: No such key in handle (ROVRadius) |
Length: | DataInvoker Error: getData error: No such key in handle (Length) m | ||
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
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 |
---|
Propulsion
Engines | Type | Creep Speed (kts) | Cruise Speed (kts) | Full Speed (kts) | Flank Speed (kts) |
---|
Fuel
Fuel Type | Quantity (kg) |
---|