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> | <includeonly> | ||
==High-End Containers== | |||
{{ | {{#arraydefine:HighEnd|{{Prop Data|AllList|{{{1|}}}|High-End Props}} }}<!-- | ||
{{ | -->{{#loop:i|0|{{#arraysize:HighEnd}}<!-- | ||
{{Iconbox| | -->|{{#vardefine:current_prop|{{#arrayindex:HighEnd|{{#var:i}} }} }}<!-- | ||
{{ | -->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }} | ||
{{ | ==Normal Containers== | ||
{{#arraydefine:Chests|{{Prop Data|AllList|{{{1|}}}|Chest}} }}<!-- | |||
{{ | -->{{#ifeq:{{#arraysize:Chests}}|0||<h3>Chests</h3>}}<!-- | ||
{{Iconbox| | -->{{#loop:i|0|{{#arraysize:Chests}}<!-- | ||
{{ | -->|{{#vardefine:current_prop|{{#arrayindex:Chests|{{#var:i}} }} }}<!-- | ||
{{ | -->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }} | ||
{{ | {{#arraydefine:Hoard|{{Prop Data|AllList|{{{1|}}}|Hoard}} }}<!-- | ||
{{Iconbox| | -->{{#ifeq:{{#arraysize:Hoard}}|0||<h3>Hoard</h3>}}<!-- | ||
{{ | -->{{#loop:i|0|{{#arraysize:Hoard}}<!-- | ||
-->|{{#vardefine:current_prop|{{#arrayindex:Hoard|{{#var:i}} }} }}<!-- | |||
-->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }} | |||
{{ | {{#arraydefine:Coffins|{{Prop Data|AllList|{{{1|}}}|Coffin}} }}<!-- | ||
{{ | -->{{#ifeq:{{#arraysize:Coffins}}|0||<h3>Coffins</h3>}}<!-- | ||
-->{{#loop:i|0|{{#arraysize:Coffins}}<!-- | |||
{{Iconbox| | -->|{{#vardefine:current_prop|{{#arrayindex:Coffins|{{#var:i}} }} }}<!-- | ||
{{ | -->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }} | ||
{{ | {{#arraydefine:Skeletons|{{Prop Data|AllList|{{{1|}}}|Skeleton}} }}<!-- | ||
{{ | -->{{#ifeq:{{#arraysize:Skeletons}}|0||<h3>Skeletons</h3>}}<!-- | ||
{{Iconbox| | -->{{#loop:i|0|{{#arraysize:Skeletons}}<!-- | ||
{{ | -->|{{#vardefine:current_prop|{{#arrayindex:Skeletons|{{#var:i}} }} }}<!-- | ||
{{ | -->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }} | ||
{{#arraydefine:Crates|{{Prop Data|AllList|{{{1|}}}|Crate}} }}<!-- | |||
{{ | -->{{#ifeq:{{#arraysize:Crates}}|0||<h3>Crates</h3>}}<!-- | ||
{{Iconbox| | -->{{#loop:i|0|{{#arraysize:Crates}}<!-- | ||
{{ | -->|{{#vardefine:current_prop|{{#arrayindex:Crates|{{#var:i}} }} }}<!-- | ||
{{ | -->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }} | ||
{{#arraydefine:Barrels|{{Prop Data|AllList|{{{1|}}}|Barrel}} }}<!-- | |||
-->{{#ifeq:{{#arraysize:Barrels}}|0||<h3>Barrels</h3>}}<!-- | |||
{{ | -->{{#loop:i|0|{{#arraysize:Barrels}}<!-- | ||
{{Iconbox| | -->|{{#vardefine:current_prop|{{#arrayindex:Barrels|{{#var:i}} }} }}<!-- | ||
{{ | -->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }} | ||
{{ | {{#arraydefine:Pots|{{Prop Data|AllList|{{{1|}}}|Pots}} }}<!-- | ||
{{ | -->{{#ifeq:{{#arraysize:Pots}}|0||<h3>Pots</h3>}}<!-- | ||
-->{{#loop:i|0|{{#arraysize:Pots}}<!-- | |||
{{Iconbox| | -->|{{#vardefine:current_prop|{{#arrayindex:Pots|{{#var:i}} }} }}<!-- | ||
{{ | -->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }} | ||
{{#arraydefine:Ores|{{Prop Data|AllList|{{{1|}}}|Ore}} }}<!-- | |||
{{ | -->{{#ifeq:{{#arraysize:Ores}}|0||<h3>Ores</h3>}}<!-- | ||
{{ | -->{{#loop:i|0|{{#arraysize:Ores}}<!-- | ||
{{Iconbox| | -->|{{#vardefine:current_prop|{{#arrayindex:Ores|{{#var:i}} }} }}<!-- | ||
{{ | -->{{Iconbox|{{#var:current_prop}}-{{{1|}}}|image={{#var:current_prop}}.png|caption={{#var:current_prop}}|size=x100px}} }} | ||
{{ | {{#arraydefine:Herbs|{{Prop Data|AllList|{{{1|}}}|Herb}} }}<!-- | ||
{{ | -->{{#ifeq:{{#arraysize:Herbs}}|0||<h3>Herbs</h3>}}<!-- | ||
{{Iconbox| | -->{{#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| | {{ContainerSource|Global}}</noinclude> |
Revision as of 00:01, 7 August 2024