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

m
m
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{padleft:|3|{{{month|}}}~ }} }}
+
<includeonly>{{#vardefine: month|{{#switch: {{lc:{{padleft:|3|{{{month|}}}~ }} }}
  | 1~1 = {{#vardefine:month1|1}}
+
  | 1~1 = 1
  | jan = {{#vardefine:month1|1}}
+
  | jan = 1
  | 2~2 = {{#vardefine:month2|1}}
+
  | 2~2 = 2
  | feb = {{#vardefine:month2|1}}
+
  | feb = 2
  | 3~3 = {{#vardefine:month3|1}}
+
  | 3~3 = 3
  | mar = {{#vardefine:month3|1}}
+
  | mar = 3
  | 4~4 = {{#vardefine:month4|1}}
+
  | 4~4 = 4
  | apr = {{#vardefine:month4|1}}
+
  | apr = 4
  | 5~5 = {{#vardefine:month5|1}}
+
  | 5~5 = 5
  | may = {{#vardefine:month5|1}}
+
  | may = 5
  | 6~6 = {{#vardefine:month6|1}}
+
  | 6~6 = 6
  | jun = {{#vardefine:month6|1}}
+
  | jun = 6
  | 7~7 = {{#vardefine:month7|1}}
+
  | 7~7 = 7
  | jul = {{#vardefine:month7|1}}
+
  | jul = 7
  | 8~8 = {{#vardefine:month8|1}}
+
  | 8~8 = 8
  | aug = {{#vardefine:month8|1}}
+
  | aug = 8
  | 9~9 = {{#vardefine:month9|1}}
+
  | 9~9 = 9
  | sep = {{#vardefine:month9|1}}
+
  | sep = 9
  | sept = {{#vardefine:month9|1}}
+
  | sept = 9
  | 10~ = {{#vardefine:month10|1}}
+
  | 10~ = 10
  | oct = {{#vardefine:month10|1}}
+
  | oct = 10
  | 11~ = {{#vardefine:month11|1}}
+
  | 11~ = 11
  | nov = {{#vardefine:month11|1}}
+
  | nov = 11
  | 12~ = {{#vardefine:month12|1}}
+
  | 12~ = 12
  | dec = {{#vardefine:month12|1}}
+
  | dec = 12
}}}}{{{month|}}}</includeonly>
+
| #default = 0
 +
}}}}{{#var:month}},</includeonly>

Revision as of 13:49, 12 November 2019