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

m
m
Line 1: Line 1:
<includeonly>{{#vardefine: month|{{#switch: {{lc:{{padleft:|3|{{{month|}}} }} }}
+
{{#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}}|{{#if: {{PAGENAME}} <> Rares|<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>
+
}}}}{{#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}}}&nbsp;{{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]</div>}} }}</includeonly>
+
[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]</div>}}&nbsp;

Revision as of 01:47, 22 August 2016