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

m
m
Line 1: Line 1:
<includeonly>{{#arraydefine:seasons|{{{season|}}}|,}}{{#vardefine:firstseason|{{#arrayindex:seasons|0}} }}{{#if: {{PAGENAME}} <> Rares|{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}
+
<includeonly>{{#arraydefine:seasons|{{{season|}}}|,}}{{#if: {{PAGENAME}} <> Rares|{{#vardefine: craftinfo|{{CrafterInfo|{{{crafter|}}}|{{{craftText|}}} }} }}
 
<tr>
 
<tr>
 
<td> {{{type}}}</td>
 
<td> {{{type}}}</td>
Line 32: Line 32:
 
  | dec = December
 
  | dec = December
 
  | #default = unknown
 
  | #default = unknown
}}}}{{#var: month}}{{#if: {{{day|}}} |&nbsp;{{{day}}}, |}} {{#if:{{{season|}}}|{{#vardefine: year |20{{padleft:{{#expr: 2+{{#var:firstseason}} }}|2}} }} {{#if: {{{year_end|}}} | &#8211; {{#switch: {{lc:{{padleft:|3|{{{month_end|}}}~ }} }}
+
}}}}{{#var: month}}{{#if: {{{day|}}} |&nbsp;{{{day}}}, |}} {{{1}}} }} {{#if: {{{year_end|}}} | &#8211; {{#switch: {{lc:{{padleft:|3|{{{month_end|}}}~ }} }}
 
| 0 = unknown
 
| 0 = unknown
 
| 1~1
 
| 1~1

Revision as of 15:15, 9 December 2016