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

m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{PAGENAME}} <> Rares|<div style="display:inline-block;text-align: center;padding:1em;">{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|%PAGE%}}<br><div style="max-width: 16em;font-size: .9rem;">[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#var: craftinfo}}{{{engraving|}}}]]</div> }}</div>
+
{{#if: {{PAGENAME}} <> Rares|<div style="display:inline-block;text-align: center;padding:1em;">{{#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|}}} }} }}{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|%PAGE%}}<br><div style="max-width: 16em;font-size: .9rem;">[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#var: craftinfo}}{{{engraving|}}}]]{{#if: {{#var: dateInfo}}|<br><span style="color:#555;">({{#var: dateInfo}})</span>}}</div></div>}}

Latest revision as of 04:52, 25 February 2021

ImageNotAvailable.png
[[{{{%PAGE%}}}|{{{name}}} ]]