Difference between revisions of "Template:RareItem.dpl3.default"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | + | {{#vardefine: month|{{#switch: {{lc:{{padleft:|3|{{{month|}}} }} }} | |
| 111 = 1 | | 111 = 1 | ||
| jan = 1 | | jan = 1 | ||
Line 26: | Line 26: | ||
| dec = 12 | | dec = 12 | ||
| #default = 0 | | #default = 0 | ||
− | }}}}{{#ifexpr: {{#var: month}} = {{CURRENTMONTH1}} | + | }}}}{{#ifexpr: {{#var: month}} = {{CURRENTMONTH1}}|<div style="display:inline-block;text-align: center;padding:2em;">{{#vardefine: imagename|File:UO-Item-{{{graphic}}}-{{{hue}}}.png}}{{#if: {{{image|}}} | {{#vardefine: imagename|File:{{{image}}} }} }}[[{{#var: imagename}}]]<br> |
− | [[{{{%PAGE%}}}|{{{name}}} {{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]</div>}} | + | [[{{{%PAGE%}}}|{{{name}}} {{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]</div>}} |
Revision as of 01:47, 22 August 2016