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

m
m
Line 27: Line 27:
 
  | #default = 0
 
  | #default = 0
 
}}}}{{#ifexpr: {{#var: month}} = {{#if:{{CURRENTMONTH1}} <> 12|{{#expr: {{CURRENTMONTH1}}-1}}|12 }}|{{#if: {{PAGENAME}} <> Rares|
 
}}}}{{#ifexpr: {{#var: month}} = {{#if:{{CURRENTMONTH1}} <> 12|{{#expr: {{CURRENTMONTH1}}-1}}|12 }}|{{#if: {{PAGENAME}} <> Rares|
{{#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}}|link={{{%PAGE%}}}]]}}<br>[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]<br><span style="color:#555;">( Count: {{{quantity|?}}} )</span></div> }} }}</includeonly>
+
{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|%PAGE%}}<div style="display:inline-block;text-align: center;padding:2em;max-width: 18em;">{{#if: {{#var: imagename}} |[[{{#var: imagename}}|link={{{%PAGE%}}}]]}}<br>{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#var: craftinfo}}{{{engraving|}}}]]<br><span style="color:#555;">( Count: {{{quantity|?}}} )</span></div> }} }}</includeonly>

Revision as of 23:09, 23 August 2016