From Dark and Darker Wiki

(Changed template to generate the nav bar dynamically. Checks for existence and which source is last.)
(Added padding to navbar cells.)
Line 2: Line 2:


-->{{#vardefine:G}}{{#vardefine:isLastG}}{{#vardefine:GCIC}}{{#vardefine:isLastGCIC}}{{#vardefine:C}}{{#vardefine:isLastC}}{{#vardefine:IIA}}{{#vardefine:isLastIIA}}<!--
-->{{#vardefine:G}}{{#vardefine:isLastG}}{{#vardefine:GCIC}}{{#vardefine:isLastGCIC}}{{#vardefine:C}}{{#vardefine:isLastC}}{{#vardefine:IIA}}{{#vardefine:isLastIIA}}<!--
-->{{#if:{{Prop Data|{{{1|}}}-Inferno and Ice Abyss|All}}{{Prop Data|{{{1|}}}-Inferno and Ice Abyss#Locked|All}}<!--
-->{{#if:{{Prop Data|{{{1|}}}-Inferno and Ice Abyss|All}}{{Prop Data|{{{1|}}}-Inferno and Ice Abyss#Locked|All}}<!--
-->|{{#vardefine:IIA|1}} <!--
-->|{{#vardefine:IIA|1}} <!--
Line 25: Line 26:
<tr>
<tr>
{{#if:{{#var:G}}
{{#if:{{#var:G}}
|<td style="width:1%" {{#if:{{#var:isLastG}}|class="last"}}>[[{{{1|}}}-Global|Global]]</td>}}
|<td style="padding:30px" {{#if:{{#var:isLastG}}|class="last"}}>[[{{{1|}}}-Global|Global]]</td>}}
{{#if:{{#var:GCIC}}
{{#if:{{#var:GCIC}}
|<td style="width:1%" {{#if:{{#var:isLastGCIC}}|class="last"}}>[[{{{1|}}}-Goblin Cave and Ice Cavern|Goblin&nbsp;Cave<br>&&nbsp;Ice&nbsp;Cavern]]</td>}}
|<td style="padding:20px" {{#if:{{#var:isLastGCIC}}|class="last"}}>[[{{{1|}}}-Goblin Cave and Ice Cavern|Goblin&nbsp;Cave<br>&&nbsp;Ice&nbsp;Cavern]]</td>}}
{{#if:{{#var:C}}
{{#if:{{#var:C}}
|<td style="width:1%" {{#if:{{#var:isLastC}}|class="last"}}>[[{{{1|}}}-Crypts|Crypts]]</td>}}
|<td style="padding:30px" {{#if:{{#var:isLastC}}|class="last"}}>[[{{{1|}}}-Crypts|Crypts]]</td>}}
{{#if:{{#var:IIA}}
{{#if:{{#var:IIA}}
|<td style="width:1%" {{#if:{{#var:isLastIIA}}|class="last"}}>[[{{{1|}}}-Inferno and Ice Abyss|Inferno<br>&&nbsp;Ice&nbsp;Abyss]]</td>}}
|<td style="padding:20px" {{#if:{{#var:isLastIIA}}|class="last"}}>[[{{{1|}}}-Inferno and Ice Abyss|Inferno<br>&&nbsp;Ice&nbsp;Abyss]]</td>}}
</tr>
</tr>
</table><!--
</table><!--

Revision as of 02:05, 7 August 2024

{{ContainersMapNavBar|Marvelous Chest}}
Global Crypts Inferno
& Ice Abyss
{{ContainersMapNavBar|Golden Chest}}
Global Crypts Inferno
& Ice Abyss
{{ContainersMapNavBar|Golden Chest-Global}}
{{ContainersMapNavBar|Lion's Head Chest}}
Global Crypts Inferno
& Ice Abyss
{{ContainersMapNavBar|Bronze Ornate Chest}}
Global Crypts Inferno
& Ice Abyss
{{ContainersMapNavBar|Large Oak Chest}}
Global Crypts Inferno
& Ice Abyss
{{ContainersMapNavBar|Small Oak Chest}}
Global Crypts Inferno
& Ice Abyss