From Dark and Darker Wiki

Raw Salad (talk | contribs)
Added ore and herb examples. Changed template calls to match renamed var GradeType.
Raw Salad (talk | contribs)
Added dynamic check of existence for each tab. First Shown Tier now selects the first existing tab.
Line 1: Line 1:
<includeonly><!--
<includeonly><!--


-->{{#vardefine:firstShownTier|{{#switch:1
|{{#if:{{#pos:{{Prop Data|{{{1|}}}-{{{2|}}}|all}}|N}}|1}}=Normal
|{{#if:{{#pos:{{Prop Data|{{{1|}}}-{{{2|}}}#Locked|all}}|N}}|1}}=Normal Locked
|{{#if:{{#pos:{{Prop Data|{{{1|}}}-{{{2|}}}|all}}|HR}}|1}}=High Roller
|{{#if:{{#pos:{{Prop Data|{{{1|}}}-{{{2|}}}#Locked|all}}|HR}}|1}}=High Roller Locked}} }}<!--
-->{{Tabs
-->{{Tabs
|firstShownTier=Normal
|firstShownTier={{#var:firstShownTier}}
|contentNormal =
|contentNormal =
{{#if:{{Prop Data|{{{1|}}}-{{{2|}}}|N|XP}}
{{#if:{{Prop Data|{{{1|}}}-{{{2|}}}|N|XP}}
Line 58: Line 63:
--></includeonly><noinclude>
--></includeonly><noinclude>
{{GeneratePropTabs|Lion's Head Chest|Crypts}}
{{GeneratePropTabs|Lion's Head Chest|Crypts}}
{{GeneratePropTabs|Marvelous Chest|Global}}
{{GeneratePropTabs|Coffin 2|Crypts}}
{{GeneratePropTabs|Coffin 2|Crypts}}
{{GeneratePropTabs|Cobalt Ore Prop|Global}}
{{GeneratePropTabs|Cobalt Ore Prop|Global}}
{{GeneratePropTabs|Lifeleaf Prop|Global}}
{{GeneratePropTabs|Lifeleaf Prop|Global}}
</noinclude>
</noinclude>

Revision as of 23:07, 6 August 2024