Difference between revisions of "Template:RareItem.dpl3.default"
BrianFreud (talk | contribs) m |
|||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefine: month|{{#switch: {{lc:{{padleft:|3|{{{month|}}}~ }} }} | + | <includeonly>{{#vardefine: month|{{#switch: {{lc:{{padleft:|3|{{{month|}}}~ }} }} |
| 1~1 = 1 | | 1~1 = 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: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}{{UOImage|{{{graphic|}}}|{{{hue|}}}|{{{image|}}}|%PAGE%}}<br>[[{{{%PAGE%}}}|{{{name}}} {{#var: craftinfo}}{{{engraving|}}}]] }}</div>}} | + | }}}}{{#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}}} {{#var: craftinfo}}{{{engraving|}}}]] }}<br><span style="color:#555;">( Count: {{{quantity|?}}} )</span></div>}}</includeonly> |