Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:RaceShipInfo: Difference between revisions

Template page
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:

 Amarr Empire Characteristics

 Tank Type:  Armor
 Main Weapon Systems:  Energy Turrets and  Drones
 Electronic Warfare:  Weapon Disruption and  Energy Destabilization
Visit Template:RaceShipInfo/doc to edit this text! (How does this work?) (Refresh this text - why?)