From Dark and Darker Wiki

m (generatelootdrops example)
(Disabling template.)
 
(24 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>
 
==Example==
{{#if:{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|all}}| {{TabToggle|Common|'''Common'''|active=yes|tabid=loottable}}}}<!--
<pre>{{GenerateLootDrops|Zombie}}</pre>
-->{{#if:{{Monster Data|{{{1|{{PAGENAME}}}}}#elite|drops|all}}|{{TabToggle|Elite|'''Elite'''|tabid=loottable}}}}<!--
{{GenerateLootDrops|Zombie}}
-->{{#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}}