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: all_western|1}}{{#vardefine: all_japan|1}}{{#vardefine: all_asia|1}}{{#vardefine: wohc_western|0}}{{#vardefine: wohc_japan | + | --> {{#vardefine: n|0}}{{#vardefine: all_western|1}}{{#vardefine: all_japan|1}}{{#vardefine: all_asia|1}}{{#vardefine: wohc_western|0}}{{#vardefine: wohc_japan|0}}<!-- |
-->{{#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}}}} | + | {{#ifexpr: {{#var:exist}}| | |
− | + | {{#switch: {{#arrayindex: shardTypes|{{#var:i}}}} | |
− | + | |j = {{#vardefine: all_japan|0}}{{#vardefine: all_asia|0}} | |
− | + | |jh= {{#vardefine: wohc_japan|1}} | |
− | + | |w = {{#vardefine: all_western|0}} | |
− | + | |wh= {{#vardefine: wohc_western|1}} | |
− | + | |a = {{#vardefine: all_asia|0}} | |
+ | }} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->{{#ifexpr: {{#var:all_western}} and {{#var:all_asia}} | -->{{#ifexpr: {{#var:all_western}} and {{#var:all_asia}} | ||
− | |{{#ifexpr: {{#var: | + | |{{#ifexpr: {{#var:wohc_japan}} or {{#var:wohc_western}}|All Shards (w/o {{#ifexpr:{{#var:wohc_japan}}|Mugen|}}{{#ifexpr:{{#var:wohc_western}}|SP|}})|All Shards}}<br/> |
− | |{{#ifexpr: {{#var:all_asia}}|All Asia Shards<br/>|{{#ifexpr: {{#var:all_japan}}|All Japanese Shards{{#ifexpr:{{#var:wohc_japan}}|(w/o Mugen)|}}<br/>|}}{{#ifexpr: {{#var:all_asia}}|All Western Shards{{#ifexpr:{{#var:wohc_western}}|(w/o SP)|}}<br/>|}} }} | + | |{{#ifexpr: {{#var:all_asia}}|All Asia Shards<br/>|{{#ifexpr: {{#var:all_japan}}|All Japanese Shards{{#ifexpr:{{#var:wohc_japan}}| (w/o Mugen)|}}<br/>|}}{{#ifexpr: {{#var:all_asia}}|All Western Shards{{#ifexpr:{{#var:wohc_western}}| (w/o SP)|}}<br/>|}} }} |
}}<!-- | }}<!-- | ||
-->{{#loop: i | 0 | {{#arraysize: shards}} | | -->{{#loop: i | 0 | {{#arraysize: shards}} | |