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

m
m
Line 1: Line 1:
<includeonly>{{#vardefine:style|style=""}}{{#arraydefine:regsUsed|Black Pearl, ,Blood Moss, ,Garlic, ,Ginseng, ,Mandrake Root, ,Nightshade, ,Spider's Silk, ,Spiders' Silk, ,Sulfurous Ash, ,Sulphurous Ash}}
+
<includeonly>{{#vardefine:style|style=""}}{{#arraydefine:regsUsed|Black Pearl, ,Blood Moss, ,Garlic, ,Ginseng, ,Mandrake Root, ,Nightshade, ,Spider's Silk, ,Sulfurous Ash}}
 
|- style="line-height: 0;vertical-align: baseline;"
 
|- style="line-height: 0;vertical-align: baseline;"
 
| [[{{{%PAGE%}}}{{!}}{{{spell|}}}]]
 
| [[{{{%PAGE%}}}{{!}}{{{spell|}}}]]
Line 7: Line 7:
 
| {{{maxskill|}}}
 
| {{{maxskill|}}}
 
{{#ifeq: {{{scribeskill|}}}|N/A||{{!}} {{{scribeskill|}}} }}
 
{{#ifeq: {{{scribeskill|}}}|N/A||{{!}} {{{scribeskill|}}} }}
| {{#arrayprint:regsUsed| {{!}} |@@@@| {{#vardefine:reg|{{#switch: @@@@
+
| {{#arrayprint:regsUsed| {{!}} |@@@@| {{#if:{{{@@@@|}}}|{{UO_Image|image|@@@@|no}} }} }}
| Spiders' Silk = Spider's Silk
 
| Sulphurous Ash = Sulfurous Ash
 
| #default = @@@@
 
}} }}{{#if:{{{ {{#var:reg}}|}}}|{{UO_Image|image|{{#var:reg}}|no}} }} }}
 
 
</includeonly>
 
</includeonly>

Revision as of 22:31, 14 July 2017