Difference between revisions of "Template:RareItem.dpl2detailed"
Line 9: | Line 9: | ||
--> {{#arraydefine: shards| Arirang,Asuka,Atlantic,Baja,Balhae,Catskills,Chesapeake,Drachenfels,Europa,Formosa,GL,Hokuto,Izumo,LA,LS,Legends,Mizuho,Mugen,Napa,Oceania,Origin,Pacific,Sakura,SP,Sonoma,Wakoku,Yamato,NL,Test,Abyss,Baekdu,Farmageddon,Retribution,SantaSlay,ShardOfScreams,ShardOfTheDead,ShardOfTheDead2,Winterland}}<!-- | --> {{#arraydefine: shards| Arirang,Asuka,Atlantic,Baja,Balhae,Catskills,Chesapeake,Drachenfels,Europa,Formosa,GL,Hokuto,Izumo,LA,LS,Legends,Mizuho,Mugen,Napa,Oceania,Origin,Pacific,Sakura,SP,Sonoma,Wakoku,Yamato,NL,Test,Abyss,Baekdu,Farmageddon,Retribution,SantaSlay,ShardOfScreams,ShardOfTheDead,ShardOfTheDead2,Winterland}}<!-- | ||
--> {{#arraydefine: shardTypes| a,j,w,w,a,w,w,w,w,a,w,j,j,w,w,w,j,jh,w,a,w,w,j,wh,w,j,j,,,,,,,,,,,}}<!-- | --> {{#arraydefine: shardTypes| a,j,w,w,a,w,w,w,w,a,w,j,j,w,w,w,j,jh,w,a,w,w,j,wh,w,j,j,,,,,,,,,,,}}<!-- | ||
− | --> {{#vardefine: n|0}}{{#vardefine: allwestern|1}}{{#vardefine: alljapan|1}}{{#vardefine: allasia|1}} | + | --> {{#vardefine: n|0}}{{#vardefine: allwestern|1}}{{#vardefine: alljapan|1}}{{#vardefine: allasia|1}}<!-- |
− | {{#loop: i | 0 | {{#arraysize: shards}} | | + | -->{{#loop: i | 0 | {{#arraysize: shards}} | |
{{#vardefine: exist|{{Boolean|{{{ {{#arrayindex:shards|{{#var:i}}}}|}}} }} }} | {{#vardefine: exist|{{Boolean|{{{ {{#arrayindex:shards|{{#var:i}}}}|}}} }} }} | ||
{{#switch: {{#arrayindex: shardTypes|{{#var:i}}}} | {{#switch: {{#arrayindex: shardTypes|{{#var:i}}}} | ||
Line 18: | Line 18: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
− | -->{{#ifexpr: {{#var:allwestern}} and {{#var:allasia}}|All Shards<br/> | + | -->{{#ifexpr: {{#var:allwestern}} and {{#var:allasia}} |
− | + | |All Shards<br/> | |
+ | |{{#ifexpr: {{#var:allasia}}|All Asia Shards<br/>|{{#ifexpr: {{#var:alljapan}}|All Japanese Shards<br/>|}}{{#ifexpr: {{#var:allasia}}|All Western Shards<br/>|}} }} | ||
}} | }} | ||
{{#loop: i | 0 | {{#arraysize: shards}} | | {{#loop: i | 0 | {{#arraysize: shards}} | |