Difference between revisions of "Template:RareItem.dpl2detailed"

Line 23: Line 23:
 
}}<!--
 
}}<!--
 
--> {{#loop: i | 0 | {{#arraysize: shards}} |
 
--> {{#loop: i | 0 | {{#arraysize: shards}} |
{{#vardefine: shard|{{#arrayindex: shards|{{#var:i}}}} }}
+
{{#vardefine: shard|{{#arrayindex: shards|{{#var:i}}}} }}<!--
{{#vardefine: exist|{{Boolean|{{{ {{#var:shard}}|}}} }} }}
+
--> {{#vardefine: exist|{{Boolean|{{{ {{#var:shard}}|}}} }} }}<!--
{{#switch: {{#arrayindex: shardTypes|{{#var:i}}}}
+
--> {{#switch: {{#arrayindex: shardTypes|{{#var:i}}}}
 
|j|jh = {{#ifexpr: {{#var:alljapan}} or {{#var:allasia}}|{{#vardefine: exist|{{Boolean|0}}}}|}}
 
|j|jh = {{#ifexpr: {{#var:alljapan}} or {{#var:allasia}}|{{#vardefine: exist|{{Boolean|0}}}}|}}
 
|w|wh = {{#ifexpr: {{#var:allwestern}}|{{Boolean|0}}|}}
 
|w|wh = {{#ifexpr: {{#var:allwestern}}|{{Boolean|0}}|}}
 
|a = {{#ifexpr: {{#var:allasia}}|{{Boolean|0}}|}}
 
|a = {{#ifexpr: {{#var:allasia}}|{{Boolean|0}}|}}
}}
+
}}<!--
{{#vardefine: shardname |
+
--> {{#vardefine: shardname |
 
{{#switch: {{#var:shard}}
 
{{#switch: {{#var:shard}}
 
| GL = Great Lakes
 
| GL = Great Lakes

Revision as of 23:21, 9 January 2022