Difference between revisions of "Template:RareItem.dpl5.default"
BrianFreud (talk | contribs) (Created page with "<includeonly>{{#if: {{PAGENAME}} <> Rares| {{#if: {{{graphic|}}}|{{#if: {{{hue|}}}|{{#vardefine: imagename|File:UO-Item-{{{graphic}}}-{{{hue}}}.png}} }} }}{{#if: {{{image|}}}...") |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{PAGENAME}} <> Rares| | <includeonly>{{#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;">{{#if: {{#var: imagename}} |[[{{#var: imagename}}]]}}<br>[[{{{%PAGE%}}}|{{{name}}} {{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]</div> }}</includeonly> | + | {{#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}}} {{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]</div> }}</includeonly> |