Difference between revisions of "Template:RareItem.dpl4.default"
BrianFreud (talk | contribs) m (BrianFreud moved page RareItem.dpl4 to RareItem.dpl4.default) |
BrianFreud (talk | contribs) 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;">{{#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> |