Difference between revisions of "Template:LootList Header"

From 7 Days to Die Wiki
Jump to: navigation, search
Line 15: Line 15:
 
set|totalprobability|{{#expr:
 
set|totalprobability|{{#expr:
 
{{#dpl:
 
{{#dpl:
debug=0|skipthispage=no|title={{#var:pagename}}| {{#if:
+
debug=0|skipthispage=no|title={{#var:pagename}}| {{#ifeq:
{LootList-mod}:probability | {{#:if
+
{{{modlist|}}} | {{#:if
{LootList-item}:probability | include={LootList-mod}:probability, {LootList-Item}:probability | include={LootList-mod}:probability
+
{{{itemlist|}}} | include={LootList-mod}:probability, {LootList-Item}:probability | include={LootList-mod}:probability
 
}} | include={LootList-item}:probability
 
}} | include={LootList-item}:probability
 
}}|secseparators=+
 
}}|secseparators=+

Revision as of 12:33, 10 May 2021


Template documentation (for the above template, sometimes hidden or invisible)

Use this in a loot list as the first template.
Needs variables quiet, mincount, maxcount, pageid and size (in x*y format).
Only give quiet a value if the list is not a loot container.
Only give pageid a value if the list is a loot container (eg. pageid=70 at Loot Container 70).

Things to fix:

  • Groups where all items are got.
    • Fix'dd
  • Groups where probability varies.