Difference between revisions of "Template:RareItem.dpl4.default"
Line 26: | Line 26: | ||
| dec = 12 | | dec = 12 | ||
| #default = 0 | | #default = 0 | ||
− | }}}}{{#ifexpr: {{#var: month}} = {{#if:{{CURRENTMONTH1}} <> 1|{{#expr: {{CURRENTMONTH1}}-1}}|12 }}|{{#if: {{PAGENAME}} <> Rares| | + | }}}}{{#ifexpr: {{#var: month}} = {{#if:{{CURRENTMONTH1}} <> 1|{{#expr: {{CURRENTMONTH1}} - 1}}|12}}| |
− | <div style="display:inline-block;text-align: center;padding:2em;max-width: 18em;">{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|%PAGE%}}{{#if: {{#var: imagename}} |[[{{#var: imagename}}|link={{{%PAGE%}}}]]}}<br>{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}[[{{{%PAGE%}}}|{{{name}}} {{#var: craftinfo}}{{{engraving|}}}]]<br><span style="color:#555;">( Count: {{{quantity|?}}} )</span></div> }} }}</includeonly> | + | {{#if: {{PAGENAME}} <> Rares|<div style="display:inline-block;text-align: center;padding:2em;max-width: 18em;">{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|%PAGE%}}{{#if: {{#var: imagename}} |[[{{#var: imagename}}|link={{{%PAGE%}}}]]}}<br>{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}[[{{{%PAGE%}}}|{{{name}}} {{#var: craftinfo}}{{{engraving|}}}]]<br><span style="color:#555;">( Count: {{{quantity|?}}} )</span></div> }} }}</includeonly> |