From Dark and Darker Wiki
mNo edit summary |
(Changing Template to use calls that work with Accessory Data.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:rarities|{{ | <includeonly>{{#vardefine:rarities|{{Accessory Data|{{{1}}}|rarities}}}}<!-- | ||
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!-- | -->{{#if:{{#pos:{{#var:rarities}}|,}}<!-- | ||
-->|{{Tabs | -->|{{Tabs | ||
|firstShownTier={{#expr:{{#explode:{{ | |firstShownTier={{#expr:{{#explode:{{Accessory Data|{{{1}}}|rarities}}|,|0|2}}+1}} | ||
|content1 ={{#if:{{#pos:{{ | |content1 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|0}}<!-- | ||
-->|{{GenerateAccessoryInfobox|{{{1}}}|0}}}} | -->|{{GenerateAccessoryInfobox|{{{1}}}|0}}}} | ||
|content2 ={{#if:{{#pos:{{ | |content2 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|1}}<!-- | ||
-->|{{GenerateAccessoryInfobox|{{{1}}}|1}}}} | -->|{{GenerateAccessoryInfobox|{{{1}}}|1}}}} | ||
|content3 ={{#if:{{#pos:{{ | |content3 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|2}}<!-- | ||
-->|{{GenerateAccessoryInfobox|{{{1}}}|2}}}} | -->|{{GenerateAccessoryInfobox|{{{1}}}|2}}}} | ||
|content4 ={{#if:{{#pos:{{ | |content4 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|3}}<!-- | ||
-->|{{GenerateAccessoryInfobox|{{{1}}}|3}}}} | -->|{{GenerateAccessoryInfobox|{{{1}}}|3}}}} | ||
|content5 ={{#if:{{#pos:{{ | |content5 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|4}}<!-- | ||
-->|{{GenerateAccessoryInfobox|{{{1}}}|4}}}} | -->|{{GenerateAccessoryInfobox|{{{1}}}|4}}}} | ||
|content6 ={{#if:{{#pos:{{ | |content6 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|5}}<!-- | ||
-->|{{GenerateAccessoryInfobox|{{{1}}}|5}}}} | -->|{{GenerateAccessoryInfobox|{{{1}}}|5}}}} | ||
|content7 ={{#if:{{#pos:{{ | |content7 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|6}}<!-- | ||
-->|{{GenerateAccessoryInfobox|{{{1}}}|6}}}} | -->|{{GenerateAccessoryInfobox|{{{1}}}|6}}}} | ||
|content8 ={{#if:{{#pos:{{ | |content8 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|7}}<!-- | ||
-->|{{GenerateAccessoryInfobox|{{{1}}}|7}}}} | -->|{{GenerateAccessoryInfobox|{{{1}}}|7}}}} | ||
}}<!-- | }}<!-- |
Revision as of 03:06, 30 March 2024
Code | Preview |
---|---|
{{GenerateAccessoryTabs|Ox Pendant}} |
|
{{GenerateAccessoryTabs|Ring of Courage}} |
|
{{GenerateAccessoryTabs|Grimsmile Ring}} |
|