Difference between revisions of "Template:CrewSkillIcon"

From SWTOR Guild - Army of Darkness
Jump to: navigation, search
(Added warning for unrecognised crew skills)
(Added deafult parameter blank for first test - should make the template return nothing when no parameters are given)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{#switch: {{{1}}}
+
{{#if:{{{1|}}}|{{#switch:{{{1}}}
 
  | Archaeology        = [[File:CrewSkill-Archaeology.png      |Archaeology]]
 
  | Archaeology        = [[File:CrewSkill-Archaeology.png      |Archaeology]]
 
  | Bioanalysis        = [[File:CrewSkill-Bioanalysis.png      |Bioanalysis]]
 
  | Bioanalysis        = [[File:CrewSkill-Bioanalysis.png      |Bioanalysis]]
Line 14: Line 14:
 
  | Treasure Hunting  = [[File:CrewSkill-TreasureHunting.png  |Treasure Hunting]]
 
  | Treasure Hunting  = [[File:CrewSkill-TreasureHunting.png  |Treasure Hunting]]
 
  | Underworld Trading = [[File:CrewSkill-UnderworldTrading.png|Underworld Trading]]
 
  | Underworld Trading = [[File:CrewSkill-UnderworldTrading.png|Underworld Trading]]
−
  | Unknown crew skill ({{{1}}}), check for typo
+
  | Unknown crew skill ({{{1}}}), check for typo}}|}}
−
}}
 

Latest revision as of 22:59, 12 May 2013