Difference between revisions of "Template:FIGHTER EQUIPMENT"

From Star Conflict Wiki
Jump to: navigation, search
m
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
<!-- Fighter Equipment -->
 
 
<includeonly>
 
<includeonly>
{{#ifexpr: {{{shipRank}}} > 18 | ERR_INVALID_SHIP_RANK }}
+
<!-- Fighter Equipment -->
 
<!-- Fighter Weapons -->
 
<!-- Fighter Weapons -->
{{#ifeq: {{{dataWeapons}}} | 1 |
+
{{#ifeq: {{{dataWeapons}}} | 1 | {{#switch:{{{shipRank}}}
{{#switch:{{{shipRank}}}
+
 
| 1 = [[File:Assault Railgun 2.jpg|link=Assault Railgun|Assault Railgun 2|70px]]  
 
| 1 = [[File:Assault Railgun 2.jpg|link=Assault Railgun|Assault Railgun 2|70px]]  
  
Line 196: Line 194:
 
[[File:Flux Phaser gun.png|link=Flux Phaser|Flux Phaser 17|70px]]  
 
[[File:Flux Phaser gun.png|link=Flux Phaser|Flux Phaser 17|70px]]  
 
[[File:Thilith Beam gun.png|link=Thi'Lith Beam|70px]] {{#switch:{{{shipRole|}}}  
 
[[File:Thilith Beam gun.png|link=Thi'Lith Beam|70px]] {{#switch:{{{shipRole|}}}  
| Command = [[File:Phaser gun.png|link=Phaser|Phaser 17|70px]] }}
+
| Command = [[File:Phaser gun.png|link=Phaser|Phaser 17|70px]] }} {{#switch:{{{shipName|}}}  
}}
+
| Kirishima = [[File:Minelayer 'Sower'.jpg|link=Minelayer 'Sower'|70px]] }} }} | <nowiki> </nowiki> }}
}}
+
 
<!-- Fighter Missiles -->
 
<!-- Fighter Missiles -->
 
{{#ifeq: {{{dataMissiles}}} | 1 |
 
{{#ifeq: {{{dataMissiles}}} | 1 |
 
[[File:SpaceMissile_Standart.png|link=Standard missiles|50px]] [[File:SpaceMissile Standart Gold Icon.png|link=Standard missiles Gold|50px]]
 
[[File:SpaceMissile_Standart.png|link=Standard missiles|50px]] [[File:SpaceMissile Standart Gold Icon.png|link=Standard missiles Gold|50px]]
 
{{#ifexpr: {{{shipRank}}} > 3 | [[File:SpaceMissile_EMP.png|link=EM missiles|50px]] | <nowiki> </nowiki> }}
 
{{#ifexpr: {{{shipRank}}} > 3 | [[File:SpaceMissile_EMP.png|link=EM missiles|50px]] | <nowiki> </nowiki> }}
{{#ifexpr: {{{shipRank}}} > 7 | [[File:SpaceMissile_Kinetic.png|link=Piercing missiles (guided)|50px]] | <nowiki> </nowiki>}}
+
{{#ifexpr: {{{shipRank}}} > 6 | [[File:SpaceMissile_Kinetic.png|link=Piercing missiles (guided)|50px]] | <nowiki> </nowiki>}}
 
{{#ifexpr: {{{shipRank}}} > 12 | [[File:SpaceMissile Doomsday Icon.png|link='Doomsday' missile|50px]] | <nowiki> </nowiki> }}
 
{{#ifexpr: {{{shipRank}}} > 12 | [[File:SpaceMissile Doomsday Icon.png|link='Doomsday' missile|50px]] | <nowiki> </nowiki> }}
{{#ifexpr: {{{shipRank}}} > 13 | [[File:Module GuidedDron Icon.png|link=Attack drone (multipurpose)|50px]] [[File:Crystal drone (for fight-frig).jpg|link=Crystal drone (for fighters)|50px]] | <nowiki> </nowiki>}}
+
{{#ifexpr: {{{shipRank}}} > 13 | [[File:Module GuidedDron Icon.png|link=Attack drone (multipurpose)|50px]] [[File:Crystal drone (for fight-frig).jpg|link=Crystal drone (for fighters)|50px]] | <nowiki> </nowiki>}} {{#switch:{{{shipRole}}}
{{#switch:{{{shipRole}}}
+
 
|Gunship = {{GUNSHIP_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataMissiles=1 }}
 
|Gunship = {{GUNSHIP_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataMissiles=1 }}
 
|Tackler = {{TACKLER_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataMissiles=1 }}
 
|Tackler = {{TACKLER_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataMissiles=1 }}
|Command = {{COMMAND_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataMissiles=1 }}
+
|Command = {{COMMAND_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataMissiles=1 }} }} | <nowiki> </nowiki> }}
|ALL = {{GUNSHIP_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataMissiles=1 }}{{TACKLER_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataMissiles=1 }}{{COMMAND_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataMissiles=1 }}
+
}}
+
}}
+
 
<!-- Fighters Active Role Modules -->
 
<!-- Fighters Active Role Modules -->
{{#ifeq: {{{dataModules}}} | 1 |
+
{{#ifeq: {{{dataModules}}} | 1 | {{#switch:{{{shipRole}}}
{{#switch:{{{shipRole}}}
+
 
|Gunship = {{GUNSHIP_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataModules=1 }}
 
|Gunship = {{GUNSHIP_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataModules=1 }}
 
|Tackler = {{TACKLER_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataModules=1 }}
 
|Tackler = {{TACKLER_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataModules=1 }}
|Command = {{COMMAND_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataModules=1 }}
+
|Command = {{COMMAND_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataModules=1 }} }} | <nowiki> </nowiki> }}
|ALL = {{GUNSHIP_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataModules=1 }}{{TACKLER_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataModules=1 }}{{COMMAND_EQUIPMENT | ShipName={{{ShipName}}} | shipRank={{{shipRank}}} | dataModules=1 }}
+
}}
+
}}
+
 
</includeonly>
 
</includeonly>

Latest revision as of 15:33, 27 April 2022