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

m
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr: {{FULLPAGENAME}} <> UO: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>
+
<includeonly>{{#vardefine: month|{{#switch: {{lc:{{padleft:|3|{{{month|}}}~ }} }}
[[{{{%PAGE%}}}|{{{name}}}&nbsp;{{#ifeq: {{Boolean|{{{crafted}}} }} | 1 | {{{craftText}}} by {{{crafter}}}''}}{{#ifeq: {{Boolean|{{{engraving|}}} }} | 1 | {{{engraving}}} }}]]</div>}}</includeonly>
+
| 1~1 = 1
 +
| jan = 1
 +
| 2~2 = 2
 +
| feb = 2
 +
| 3~3 = 3
 +
| mar = 3
 +
| 4~4 = 4
 +
| apr = 4
 +
| 5~5 = 5
 +
| may = 5
 +
| 6~6 = 6
 +
| jun = 6
 +
| 7~7 = 7
 +
| jul = 7
 +
| 8~8 = 8
 +
| aug = 8
 +
| 9~9 = 9
 +
| sep = 9
 +
| sept = 9
 +
| 10~ = 10
 +
| oct = 10
 +
| 11~ = 11
 +
| nov = 11
 +
| 12~ = 12
 +
| dec = 12
 +
| #default = 0
 +
}}}}{{#ifexpr: {{#var: month}} = {{#if: {{#dplvar: currentMonth}}|{{#dplvar: currentMonth}}|{{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>}}</includeonly>

Latest revision as of 02:06, 26 February 2021