Difference between revisions of "Template:RareItem.dpl6.default"

m (BrianFreud moved page RareItem.dpl6 to RareItem.dpl6.default)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{PAGENAME}} <> Rares|
+
<includeonly>{{#if: {{PAGENAME}} <> Rares|{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}
{{#if: {{{graphic|}}}|{{#if: {{{hue|}}}|{{#vardefine: imagename|File:UO-Item-{{{graphic}}}-{{{hue}}}.png}} }} }}{{#if: {{{image|}}} | {{#vardefine: imagename|File:{{{image}}} }} }}<div style="display:inline-block;text-align: center;padding:2em;max-width:18em;">{{#if: {{#var: imagename}} |[[{{#var: imagename}}]]}}<br>[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]</div> }}</includeonly>
+
<div style="display:inline-block;text-align: center;padding:2em;max-width:18em;">{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|{{{%PAGE%}}}}}<br>[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#var: craftinfo}}{{{engraving|}}}]]</div> }}</includeonly>

Latest revision as of 14:27, 30 August 2016