From Dark and Darker Wiki

(Undo revision 31544. Too many expensive parser function calls.)
Tag: Undo
(Changes template to only generate entries for a given source if the entry exists in prop data.)
Line 1: Line 1:
<includeonly>==Chests==
<includeonly>
===High-End Chests===
==High-End Containers==
{{Iconbox|Marvelous Chest-{{{1|}}}|image=Marvelous Chest.png|caption=Marvelous Chest|size=x100px}}
{{#arraydefine:HighEnd|{{Prop Data|AllList|{{{1|}}}|High-End Props}} }}<!--
{{Iconbox|Golden Chest-{{{1|}}}|image=Golden Chest.png|caption=Golden Chest|size=x100px}}
-->{{#loop:i|0|{{#arraysize:HighEnd}}<!--
{{Iconbox|Lion's Head Chest-{{{1|}}}|image=Lion's Head Chest.png|caption=Lion's Head Chest|size=x100px}}
-->|{{#vardefine:current_prop|{{#arrayindex:HighEnd|{{#var:i}} }} }}<!--
{{Iconbox|Heavy Ornate Chest-{{{1|}}}|image=Heavy Ornate Chest.png|caption=Heavy Ornate Chest|size=x100px}}
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}
{{Iconbox|Bronze Ornate Chest-{{{1|}}}|image=Bronze Ornate Chest.png|caption=Bronze Ornate Chest|size=x100px}}
==Normal Containers==
===Normal Chests===
{{#arraydefine:Chests|{{Prop Data|AllList|{{{1|}}}|Chest}} }}<!--
{{Iconbox|Large Reinforced Chest-{{{1|}}}|image=Large Reinforced Chest.png|caption=Large Reinforced Chest|size=x100px}}
-->{{#ifeq:{{#arraysize:Chests}}|0||<h3>Chests</h3>}}<!--
{{Iconbox|Reinforced Chest-{{{1|}}}|image=Reinforced Chest.png|caption=Reinforced Chest|size=x100px}}
-->{{#loop:i|0|{{#arraysize:Chests}}<!--
{{Iconbox|Small Reinforced Chest-{{{1|}}}|image=Small Reinforced Chest.png|caption=Small Reinforced Chest|size=x100px}}
-->|{{#vardefine:current_prop|{{#arrayindex:Chests|{{#var:i}} }} }}<!--
{{Iconbox|Large Oak Chest-{{{1|}}}|image=Large Oak Chest.png|caption=Large Oak Chest|size=x100px}}
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}
{{Iconbox|Oak Chest-{{{1|}}}|image=Oak Chest.png|caption=Oak Chest|size=x100px}}
{{#arraydefine:Hoard|{{Prop Data|AllList|{{{1|}}}|Hoard}} }}<!--
{{Iconbox|Small Oak Chest-{{{1|}}}|image=Small Oak Chest.png|caption=Small Oak Chest|size=x100px}}
-->{{#ifeq:{{#arraysize:Hoard}}|0||<h3>Hoard</h3>}}<!--
{{Iconbox|Flat Chest-{{{1|}}}|image=Flat Chest.png|caption=Flat Chest|size=x100px}}
-->{{#loop:i|0|{{#arraysize:Hoard}}<!--
==Miscs==
-->|{{#vardefine:current_prop|{{#arrayindex:Hoard|{{#var:i}} }} }}<!--
===Hoard===
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}
{{Iconbox|Treasure Hoard-{{{1|}}}|image=Treasure Hoard.png|caption=Treasure Hoard (5 Pulls)|size=x100px}}
{{#arraydefine:Coffins|{{Prop Data|AllList|{{{1|}}}|Coffin}} }}<!--
{{Iconbox|Treasure Hoard 10-{{{1|}}}|image=Treasure Hoard.png|caption=Treasure Hoard (10 Pulls)|size=x100px}}
-->{{#ifeq:{{#arraysize:Coffins}}|0||<h3>Coffins</h3>}}<!--
===Coffins===
-->{{#loop:i|0|{{#arraysize:Coffins}}<!--
{{Iconbox|Casket-{{{1|}}}|image=Casket.png|caption=Casket|size=x100px}}
-->|{{#vardefine:current_prop|{{#arrayindex:Coffins|{{#var:i}} }} }}<!--
{{Iconbox|Old Coffin-{{{1|}}}|image=Old Coffin.png|caption=Old Coffin|size=x100px}}
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}
{{Iconbox|Coffin 1-{{{1|}}}|image=Coffin.png|caption=Coffin 1|size=x100px}}
{{#arraydefine:Skeletons|{{Prop Data|AllList|{{{1|}}}|Skeleton}} }}<!--
{{Iconbox|Coffin 2-{{{1|}}}|image=Coffin.png|caption=Coffin 2|size=x100px}}
-->{{#ifeq:{{#arraysize:Skeletons}}|0||<h3>Skeletons</h3>}}<!--
{{Iconbox|Wooden Coffin-{{{1|}}}|image=Wooden Coffin.png|caption=Wooden Coffin|size=x100px}}
-->{{#loop:i|0|{{#arraysize:Skeletons}}<!--
{{Iconbox|Royal Coffin-{{{1|}}}|image=Royal Coffin.png|caption=Royal Coffin|size=x100px}}
-->|{{#vardefine:current_prop|{{#arrayindex:Skeletons|{{#var:i}} }} }}<!--
{{Iconbox|Stone Tomb-{{{1|}}}|image=Stone Tomb.png|caption=Stone Tomb|size=x100px}}
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}
===Skeletons===
{{#arraydefine:Crates|{{Prop Data|AllList|{{{1|}}}|Crate}} }}<!--
{{Iconbox|Skeleton Corpse 1-{{{1|}}}|image=Skeleton Corpse.png|caption=Skeleton Corpse|size=x100px}}
-->{{#ifeq:{{#arraysize:Crates}}|0||<h3>Crates</h3>}}<!--
{{Iconbox|Skeleton Corpse 2-{{{1|}}}|image=Skeleton Corpse.png|caption=Skeleton Corpse|size=x100px}}
-->{{#loop:i|0|{{#arraysize:Crates}}<!--
{{Iconbox|Skeleton Corpse 3-{{{1|}}}|image=Skeleton Corpse.png|caption=Skeleton Corpse|size=x100px}}
-->|{{#vardefine:current_prop|{{#arrayindex:Crates|{{#var:i}} }} }}<!--
{{Iconbox|Skeleton Bones-{{{1|}}}|image=Skeleton Bones.png|caption=Skeleton Bones|size=x100px}}
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}
==Breakables==
{{#arraydefine:Barrels|{{Prop Data|AllList|{{{1|}}}|Barrel}} }}<!--
===Pots===
-->{{#ifeq:{{#arraysize:Barrels}}|0||<h3>Barrels</h3>}}<!--
{{Iconbox|Pot 1-{{{1|}}}|image=Pot 1.png|caption=Pot 1|size=x100px}}
-->{{#loop:i|0|{{#arraysize:Barrels}}<!--
{{Iconbox|Pot 2-{{{1|}}}|image=Pot 2.png|caption=Pot 2|size=x100px}}
-->|{{#vardefine:current_prop|{{#arrayindex:Barrels|{{#var:i}} }} }}<!--
{{Iconbox|Pot 3-{{{1|}}}|image=Pot 3.png|caption=Pot 3|size=x100px}}
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}
{{Iconbox|Pot 4-{{{1|}}}|image=Pot 4.png|caption=Pot 4|size=x100px}}
{{#arraydefine:Pots|{{Prop Data|AllList|{{{1|}}}|Pots}} }}<!--
{{Iconbox|Spider Pot-{{{1|}}}|image=Spider Pot.png|caption=Spider Pot|size=x100px}}
-->{{#ifeq:{{#arraysize:Pots}}|0||<h3>Pots</h3>}}<!--
===Crates===
-->{{#loop:i|0|{{#arraysize:Pots}}<!--
{{Iconbox|Wooden Medium Crate-{{{1|}}}|image=Wooden Medium Crate.png|caption=Wooden Medium Crate|size=x100px}}
-->|{{#vardefine:current_prop|{{#arrayindex:Pots|{{#var:i}} }} }}<!--
{{Iconbox|Wooden Small Crate-{{{1|}}}|image=Wooden Small Crate.png|caption=Wooden Small Crate|size=x100px}}
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}
===Barrels===
{{#arraydefine:Ores|{{Prop Data|AllList|{{{1|}}}|Ore}} }}<!--
{{Iconbox|Wooden Barrel-{{{1|}}}|image=Wooden Barrel.png|caption=Wooden Barrel|size=x100px}}
-->{{#ifeq:{{#arraysize:Ores}}|0||<h3>Ores</h3>}}<!--
{{Iconbox|Wooden Barrel 1-{{{1|}}}|image=Wooden Barrel 1.png|caption=Wooden Barrel 1|size=x100px}}
-->{{#loop:i|0|{{#arraysize:Ores}}<!--
{{Iconbox|Wooden Barrel 2-{{{1|}}}|image=Wooden Barrel 2.png|caption=Wooden Barrel 2|size=x100px}}
-->|{{#vardefine:current_prop|{{#arrayindex:Ores|{{#var:i}} }} }}<!--
{{Iconbox|Wooden Barrel 3-{{{1|}}}|image=Wooden Barrel 3.png|caption=Wooden Barrel 3|size=x100px}}
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}
{{Iconbox|Wooden Barrel 4-{{{1|}}}|image=Wooden Barrel 4.png|caption=Wooden Barrel 4|size=x100px}}
{{#arraydefine:Herbs|{{Prop Data|AllList|{{{1|}}}|Herb}} }}<!--
{{Iconbox|Skeleton Barrel-{{{1|}}}|image=Skeleton Barrel.png|caption=Skeleton Barrel|size=x100px}}
-->{{#ifeq:{{#arraysize:Herbs}}|0||<h3>Herbs</h3>}}<!--
{{Iconbox|Frost Skeleton Barrel-{{{1|}}}|image=Frost Skeleton Barrel.png|caption=Frost Skeleton Barrel|size=x100px}}<!--
-->{{#loop:i|0|{{#arraysize:Herbs}}<!--
-->|{{#vardefine:current_prop|{{#arrayindex:Herbs|{{#var:i}} }} }}<!--
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }}<!--


--></includeonly><noinclude>
--></includeonly><noinclude>
{{ContainerSource|Inferno/Ice Abyss}}</noinclude>
{{ContainerSource|Global}}</noinclude>

Revision as of 00:01, 7 August 2024