Difference between revisions of "Template:RaceShipInfo"

From EVE University Wiki
Jump to: navigation, search
m (swapped nested ifs, for switch)
m (swapped nested ifs, for switch)
Line 12: Line 12:
 
|-
 
|-
 
|style="vertical-align: top; width: 125pt;"| '''Tank Type:'''
 
|style="vertical-align: top; width: 125pt;"| '''Tank Type:'''
| {{#ifeq: {{{1|}}}| Amarr    |[[Image:Icon_ISIS_defense_armor.png|link=|32px]] [[Armour_Tanking|Armor]]
+
| {{#switch: {{{1|}}}
  |{{#ifeq: {{{1|}}}| Caldari  |[[Image:Icon_ISIS_defense_Shields.png|link=|32px]] [[Shield_Tanking|Shield]]
+
| Amarr    = [[Image:Icon_ISIS_defense_armor.png|link=|32px]] [[Armour_Tanking|Armor]]
  |{{#ifeq: {{{1|}}}| Gallente |[[Image:Icon_ISIS_defense_armor.png|link=|32px]] [[Armour_Tanking|Armor]]
+
  | Caldari  = [[Image:Icon_ISIS_defense_Shields.png|link=|32px]] [[Shield_Tanking|Shield]]
  |{{#ifeq: {{{1|}}}| Minmatar |[[Image:Icon_ISIS_defense_armor.png|link=|32px]] [[Armour_Tanking|Armor]] ''' or ''' [[Image:Icon_ISIS_defense_Shields.png|link=|32px]] [[Shield_Tanking|Shield]]
+
  | Gallente = [[Image:Icon_ISIS_defense_armor.png|link=|32px]] [[Armour_Tanking|Armor]]
  |'''None'''}}}}}}}}
+
  | Minmatar = [[Image:Icon_ISIS_defense_armor.png|link=|32px]] [[Armour_Tanking|Armor]]
 +
  |  
 +
}}
 
|-
 
|-
 
|style="vertical-align: top;"| '''Main Weapon Systems:'''
 
|style="vertical-align: top;"| '''Main Weapon Systems:'''

Revision as of 05:32, 4 November 2014

Characteristics

 Tank Type:
 Main Weapon Systems: None
 Electronic Warfare: None
Template documentation (for the above template, sometimes hidden or invisible)
Template:RaceShipInfo

Description

This template is used to output a simple box listing the typical weapon systems, tank type, and EWAR type of a specified race.

Syntax

{{RaceShipInfo| <Race> }}.

Parameters

<Race>
The race to provide info on. Available options:
  • Amarr
  • Caldari
  • Gallente
  • Minmatar

Sample output

{{RaceShipInfo| Amarr }}
gives:

Logo faction amarr empire.png Amarr Empire Characteristics

 Tank Type: Icon ISIS defense armor.png Armor
 Main Weapon Systems: Icon ISIS weapon Energyturrets.png Energy Turrets and Icon ISIS weapon Drones.png Drones
 Electronic Warfare: Icon ISIS Trackingdisruption.png Weapon Disruption and Icon ISIS Energydestabilization.png Energy Destabilization
Visit Template:RaceShipInfo/doc to edit this text! (How does this work?) (Refresh this text - why?)