Difference between revisions of "Template:CrewSkillIcon"

From SWTOR Guild - Army of Darkness
Jump to: navigation, search
(Changed alt text to caption so that it shows up as hover text)
(Added deafult parameter blank for first test - should make the template return nothing when no parameters are given)
 
(4 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}}|}}

Latest revision as of 22:59, 12 May 2013