From Dark and Darker Wiki

(Changing to python-esque whitespace formatting.)
(Disabling template.)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>==Loot Tables==
<noinclude><includeonly><!--
Last Revision={{:TODO|LootTables}}
-->{{#invoke:Droprate|loot_tables|name={{{1|{{PAGENAME}}}}}|category=Monster}}<!--


Type:<!--
--></includeonly>
-->{{#if:{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|all}}<!--
==Example==
-->|{{TabToggle|Common|'''Common'''|active=yes|tabid=loottable}}}}<!--
<pre>{{GenerateLootDrops|Zombie}}</pre>
-->{{#if:{{Monster Data|{{{1|{{PAGENAME}}}}}#elite|drops|all}}<!--
{{GenerateLootDrops|Zombie}}
-->|{{TabToggle|Elite|'''Elite'''|tabid=loottable}}}}<!--
-->{{#if:{{Monster Data|{{{1|{{PAGENAME}}}}}#nightmare|drops|all}}<!--
-->|{{TabToggle|Nightmare|'''Nightmare'''|tabid=loottable}}}}
 
Loot Table:<!--
-->{{#if:{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|all}}<!--
-->|<div class="Common-data">{{ListLootDrops|monster={{{1|{{PAGENAME}}}}}}}</div>}}<!--
-->{{#if:{{Monster Data|{{{1|{{PAGENAME}}}}}#elite|drops|all}}<!--
-->|<div class="Elite-data" style="display:none">{{ListLootDrops|monster={{{1|{{PAGENAME}}}}}#elite}}</div>}}<!--
-->{{#if:{{Monster Data|{{{1|{{PAGENAME}}}}}#nightmare|drops|all}}<!--
-->|<div class="Nightmare-data" style="display:none">{{ListLootDrops|monster={{{1|{{PAGENAME}}}}}#nightmare}}</div>}}<!--
--></includeonly><noinclude>
Example <pre>{{GenerateLootDrops|zombie}}</pre>
{{GenerateLootDrops|zombie}}
</noinclude>
</noinclude>

Latest revision as of 07:39, 14 May 2026

Example

{{GenerateLootDrops|Zombie}}