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

 
Line 1: Line 1:
 
<includeonly>{{#if: {{PAGENAME}} <> Rares|{{#vardefine: dateInfo|{{#switch: {{lc:{{padleft:|3|{{{month|}}}~ }} }}|1~1|jan = Jan|2~2|feb = Feb|3~3|mar = Mar|4~4|apr = Apr|5~5|may = May|6~6|jun = Jun|7~7|jul = Jul|8~8|aug = Aug|9~9|sep|sept = Sep|10~|oct = Oct|11~|nov = Nov|12~|dec = Dec|#default = }}}}{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}
 
<includeonly>{{#if: {{PAGENAME}} <> Rares|{{#vardefine: dateInfo|{{#switch: {{lc:{{padleft:|3|{{{month|}}}~ }} }}|1~1|jan = Jan|2~2|feb = Feb|3~3|mar = Mar|4~4|apr = Apr|5~5|may = May|6~6|jun = Jun|7~7|jul = Jul|8~8|aug = Aug|9~9|sep|sept = Sep|10~|oct = Oct|11~|nov = Nov|12~|dec = Dec|#default = }}}}{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}
<div style="display:inline-block;text-align: center;padding:2em;max-width:18em;">{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|{{{%PAGE%}}}}}<br>[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#var: craftinfo}}{{{engraving|}}}]]<br><span style="color:#555;">( {{#var: dateInfo}} Count: {{{quantity|unknown}}} )</span></div> }}</includeonly>
+
<div style="display:inline-block;text-align: center;padding:2em;max-width:18em;">{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|{{{%PAGE%}}}}}<br>[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#var: craftinfo}}{{{engraving|}}}]]<br><span style="color:#555;">({{#if: {{#var: dateInfo}}| {{#var: dateInfo}},}} Count: {{{quantity|unknown}}} )</span></div> }}</includeonly>

Latest revision as of 01:21, 1 March 2021