Difference between revisions of "Template:CrewSkillIcon"
From SWTOR Guild - Army of Darkness
(Return nothing for empty string parameter) |
(Added deafult parameter blank for first test - should make the template return nothing when no parameters are given) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{if:{{{1}}}| | + | {{#if:{{{1|}}}|{{#switch:{{{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 15: | 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}}|}} |
| − | }}|}} | ||