Template:DropTable

From IdleOn MMO Wiki
Revision as of 22:33, 25 November 2020 by imported>BigCoight


Used for putting a droptable on a page. 
Usage:
{{DropTable
|coinQuantity=example
|coinChance=example
|item<1-8>Name=example
|item<1-8>Quantity=example
|item<1-8>Icon=example
|item<1-8>Chance=example
|subtable<1-5>={{DropTable<1-5>|chance=example}}
}}

Example: 

{{DropTable
|coinQuantity=1
|coinChance=0.5
|item1Name=Bogusitem
|item1Quantity=42
|item1Icon=Bogusitem.png
|item1Chance=0.7
|subtable1={{DropTable1|chance=0.05}}
}}