Difference between revisions of "Template:UnlistedEMItemsByMonth"

m
m
Line 16: Line 16:
 
}} }}<div style="text-align: left;">{{#vardefine: month1|{{#arraysearch:monthlist|1|0|1|0}} }}{{#vardefine: month2|{{#arraysearch:monthlist|2|0|1|0}} }}{{#vardefine: month3|{{#arraysearch:monthlist|3|0|1|0}} }}{{#vardefine: month4|{{#arraysearch:monthlist|4|0|1|0}} }}{{#vardefine: month5|{{#arraysearch:monthlist|5|0|1|0}} }}{{#vardefine: month6|{{#arraysearch:monthlist|6|0|1|0}} }}{{#vardefine: month7|{{#arraysearch:monthlist|7|0|1|0}} }}{{#vardefine: month8|{{#arraysearch:monthlist|8|0|1|0}} }}{{#vardefine: month9|{{#arraysearch:monthlist|9|0|1|0}} }}{{#vardefine: month10|{{#arraysearch:monthlist|10|0|1|0}} }}{{#vardefine: month11|{{#arraysearch:monthlist|11|0|1|0}} }}{{#vardefine: month12|{{#arraysearch:monthlist|12|0|1|0}} }}{{#vardefine: monthcount|{{#expr: {{#var: month1|0}} + {{#var: month2|0}} + {{#var: month3|0}} + {{#var: month4|0}} + {{#var: month5|0}} + {{#var: month6|0}} + {{#var: month7|0}} + {{#var: month8|0}} + {{#var: month9|0}} + {{#var: month10|0}} + {{#var: month11|0}} + {{#var: month12|0}} }} }}{{#ifexpr: {{#expr: {{{year}}} != {{CURRENTYEAR}} and {{#arrayunique:monthlist}}{{#arraysize:monthlist}} < 13}} or {{#expr: {{{year}}} = {{CURRENTYEAR}} and {{#expr: {{#var: monthcount}} < {{CURRENTMONTH1}} }} }}|
 
}} }}<div style="text-align: left;">{{#vardefine: month1|{{#arraysearch:monthlist|1|0|1|0}} }}{{#vardefine: month2|{{#arraysearch:monthlist|2|0|1|0}} }}{{#vardefine: month3|{{#arraysearch:monthlist|3|0|1|0}} }}{{#vardefine: month4|{{#arraysearch:monthlist|4|0|1|0}} }}{{#vardefine: month5|{{#arraysearch:monthlist|5|0|1|0}} }}{{#vardefine: month6|{{#arraysearch:monthlist|6|0|1|0}} }}{{#vardefine: month7|{{#arraysearch:monthlist|7|0|1|0}} }}{{#vardefine: month8|{{#arraysearch:monthlist|8|0|1|0}} }}{{#vardefine: month9|{{#arraysearch:monthlist|9|0|1|0}} }}{{#vardefine: month10|{{#arraysearch:monthlist|10|0|1|0}} }}{{#vardefine: month11|{{#arraysearch:monthlist|11|0|1|0}} }}{{#vardefine: month12|{{#arraysearch:monthlist|12|0|1|0}} }}{{#vardefine: monthcount|{{#expr: {{#var: month1|0}} + {{#var: month2|0}} + {{#var: month3|0}} + {{#var: month4|0}} + {{#var: month5|0}} + {{#var: month6|0}} + {{#var: month7|0}} + {{#var: month8|0}} + {{#var: month9|0}} + {{#var: month10|0}} + {{#var: month11|0}} + {{#var: month12|0}} }} }}{{#ifexpr: {{#expr: {{{year}}} != {{CURRENTYEAR}} and {{#arrayunique:monthlist}}{{#arraysize:monthlist}} < 13}} or {{#expr: {{{year}}} = {{CURRENTYEAR}} and {{#expr: {{#var: monthcount}} < {{CURRENTMONTH1}} }} }}|
 
{{#ifexpr: {{{year}}} != {{CURRENTYEAR}}|
 
{{#ifexpr: {{{year}}} != {{CURRENTYEAR}}|
; AAA'''[[UO:{{#arrayindex: shards |{{#var:i}} }} Rares|{{#arrayindex: shards |{{#var:i}} }}]]'''{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-1 || {{#ifeq:1|{{#var:month1}}||
+
; '''[[UO:{{#arrayindex: shards |{{#var:i}} }} Rares|{{#arrayindex: shards |{{#var:i}} }}]]'''{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-1 || {{#ifeq:1|{{#var:month1}}||
 
: January }} }}{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-2 || {{#ifeq:1|{{#var:month2}}||
 
: January }} }}{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-2 || {{#ifeq:1|{{#var:month2}}||
 
: February }} }}{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-3 || {{#ifeq:1|{{#var:month3}}||
 
: February }} }}{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-3 || {{#ifeq:1|{{#var:month3}}||
Line 30: Line 30:
 
: December }} }}
 
: December }} }}
 
|
 
|
; BBB'''[[UO:{{#arrayindex: shards |{{#var:i}} }} Rares|{{#arrayindex: shards |{{#var:i}} }}]]'''{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-1 || {{#ifeq:1|{{#var:month1}}||
+
; '''[[UO:{{#arrayindex: shards |{{#var:i}} }} Rares|{{#arrayindex: shards |{{#var:i}} }}]]'''{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-1 || {{#ifeq:1|{{#var:month1}}||
 
: January }} }}{{#ifexpr: {{CURRENTMONTH1}} >= 2 |{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-2 || {{#ifeq:1|{{#var:month2}}||
 
: January }} }}{{#ifexpr: {{CURRENTMONTH1}} >= 2 |{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-2 || {{#ifeq:1|{{#var:month2}}||
 
: February }} }} }}{{#ifexpr: {{CURRENTMONTH1}} >= 3 |{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-3 || {{#ifeq:1|{{#var:month3}}||
 
: February }} }} }}{{#ifexpr: {{CURRENTMONTH1}} >= 3 |{{#varexists:ignore-{{#arrayindex: shards |{{#var:i}} }}-{{{year}}}-3 || {{#ifeq:1|{{#var:month3}}||

Revision as of 05:07, 13 January 2020