From Dark and Darker Wiki
(Changing to python-esque whitespace formatting.) |
(Removing Junk tier. Adding default argument:{{PAGENAME}}.) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#vardefine:rarities|{{Misc Data|{{{1}}}|rarities}}}}<!-- | -->{{#vardefine:rarities|{{Misc Data|{{{1|{{PAGENAME}}}}}|rarities}}}}<!-- | ||
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!-- | -->{{#if:{{#pos:{{#var:rarities}}|,}}<!-- | ||
-->|{{Tabs<!-- | -->|{{Tabs<!-- | ||
-->|firstShownTier={{#expr:{{#explode:{{#var:rarities}}|,|0|2}}+1}}<!-- | -->|firstShownTier={{#expr:{{#explode:{{#var:rarities}}|,|0|2}}+1}}<!-- | ||
-->|content2 ={{#if:{{#pos:{{#var:rarities}}|1}}<!-- | -->|content2 ={{#if:{{#pos:{{#var:rarities}}|1}}<!-- | ||
-->|{{GenerateMiscInfobox|{{{1}}}|1}}}}<!-- | -->|{{GenerateMiscInfobox|{{{1|{{PAGENAME}}}}}|1}}}}<!-- | ||
-->|content3 ={{#if:{{#pos:{{#var:rarities}}|2}}<!-- | -->|content3 ={{#if:{{#pos:{{#var:rarities}}|2}}<!-- | ||
-->|{{GenerateMiscInfobox|{{{1}}}|2}}}}<!-- | -->|{{GenerateMiscInfobox|{{{1|{{PAGENAME}}}}}|2}}}}<!-- | ||
-->|content4 ={{#if:{{#pos:{{#var:rarities}}|3}}<!-- | -->|content4 ={{#if:{{#pos:{{#var:rarities}}|3}}<!-- | ||
-->|{{GenerateMiscInfobox|{{{1}}}|3}}}}<!-- | -->|{{GenerateMiscInfobox|{{{1|{{PAGENAME}}}}}|3}}}}<!-- | ||
-->|content5 ={{#if:{{#pos:{{#var:rarities}}|4}}<!-- | -->|content5 ={{#if:{{#pos:{{#var:rarities}}|4}}<!-- | ||
-->|{{GenerateMiscInfobox|{{{1}}}|4}}}}<!-- | -->|{{GenerateMiscInfobox|{{{1|{{PAGENAME}}}}}|4}}}}<!-- | ||
-->|content6 ={{#if:{{#pos:{{#var:rarities}}|5}}<!-- | -->|content6 ={{#if:{{#pos:{{#var:rarities}}|5}}<!-- | ||
-->|{{GenerateMiscInfobox|{{{1}}}|5}}}}<!-- | -->|{{GenerateMiscInfobox|{{{1|{{PAGENAME}}}}}|5}}}}<!-- | ||
-->|content7 ={{#if:{{#pos:{{#var:rarities}}|6}}<!-- | -->|content7 ={{#if:{{#pos:{{#var:rarities}}|6}}<!-- | ||
-->|{{GenerateMiscInfobox|{{{1}}}|6}}}}<!-- | -->|{{GenerateMiscInfobox|{{{1|{{PAGENAME}}}}}|6}}}}<!-- | ||
-->|content8 ={{#if:{{#pos:{{#var:rarities}}|7}}<!-- | -->|content8 ={{#if:{{#pos:{{#var:rarities}}|7}}<!-- | ||
-->|{{GenerateMiscInfobox|{{{1}}}|7}}}}}}<!-- | -->|{{GenerateMiscInfobox|{{{1|{{PAGENAME}}}}}|7}}}}}}<!-- | ||
-->|<div class="cardtabs" data-cardtabs><!-- | -->|<div class="cardtabs" data-cardtabs><!-- | ||
-->{{GenerateMiscInfobox|{{{1}}}}}</div>}}<!-- | -->{{GenerateMiscInfobox|{{{1|{{PAGENAME}}}}}}}</div>}}<!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
<table class="wikitable"> | <table class="wikitable"> | ||
Line 27: | Line 25: | ||
<th>Code</th> | <th>Code</th> | ||
<th>Preview</th></tr> | <th>Preview</th></tr> | ||
<tr> | |||
<td style="padding: 20px 30px;"> | |||
<pre>{{GenerateMiscTabs|Ancient Scroll}}</pre></td> | |||
<td style="padding: 20px 30px;"> | |||
{{GenerateMiscTabs|Ancient Scroll}}</td></tr> | |||
<tr> | <tr> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> |
Revision as of 20:36, 22 June 2024
Code | Preview |
---|---|
{{GenerateMiscTabs|Ancient Scroll}} |
|
{{GenerateMiscTabs|Lifeleaf}} |
|
{{GenerateMiscTabs|Gold Ore}} |
|
{{GenerateMiscTabs|Rubysilver Ingot}} |
|