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|}}}~ }} }}
 
  | 1~1 = 1
 
  | 1~1 = 1
Line 27: 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;max-width: 18em;">{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|%PAGE%}}{{#if: {{#var: imagename}} |[[{{#var: imagename}}|link={{{%PAGE%}}}]]}}<br>{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#var: craftinfo}}{{{engraving|}}}]]<br><span style="color:#555;">( Count: {{{quantity|?}}} )</span></div> }}</includeonly>
+
}}}}{{#ifexpr: {{#var: month}} = {{CURRENTMONTH1}}|{{#if: {{PAGENAME}} <> Rares|<div style="display:inline-block;text-align: center;padding:2em;">{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|%PAGE%}}<br>[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#var: craftinfo}}{{{engraving|}}}]] }}<br><span style="color:#555;">( Count: {{{quantity|?}}} )</span></div>}}

Revision as of 04:16, 31 March 2017