Difference between revisions of "Template:InfoBox UO Spell.dpl.Magery"

m
m
Line 7: Line 7:
 
| {{{maxskill|}}}
 
| {{{maxskill|}}}
 
{{#ifeq: {{{scribeskill|}}}|N/A||{{!}} {{{scribeskill|}}} }}
 
{{#ifeq: {{{scribeskill|}}}|N/A||{{!}} {{{scribeskill|}}} }}
| {{#arrayprint:regsUsed| {{!}} |@@@@| {{#vardefine:reg|@@@@}}{{#ifeq:{{#var:reg}}|Spiders' Silk|{{#vardefine:reg|Spider's Silk}}}}{{#ifeq:{{#var:reg}}|Sulphurous Ash|{{#vardefine:reg|Sulfurous Ash}}}}{{#if:{{{{{#var:reg}}|}}}|{{UO_Image|image|{{#var:reg}}|no}} }} }}
+
| {{#arrayprint:regsUsed| {{!}} |@@@@| {{#vardefine:reg|{{#switch: @@@@
 +
{{!}} Spiders' Silk = Spider's Silk
 +
{{!}} Sulphurous Ash = Sulfurous Ash
 +
{{!}} #default = @@@@
 +
}}}}{{#if:{{{{{#var:reg}}|}}}|{{UO_Image|image|{{#var:reg}}|no}} }} }}
 
</includeonly>
 
</includeonly>

Revision as of 23:14, 14 July 2017