Template:DropTable: Difference between revisions
From IdleOn MMO Wiki
imported>BigCoight mNo edit summary |
imported>BigCoight mNo edit summary |
||
Line 11: | Line 11: | ||
{{!}} | {{!}} | ||
{{!}}{{chancedisplay|{{{coinChance}}}}} | {{!}}{{chancedisplay|{{{coinChance}}}}} | ||
}} | }}{{#if:{{{item1Name|}}}| | ||
{{#if:{{{item1Name|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item1Icon}}}|50px|link={{{item1Name}}}]] | {{!}}[[File:{{{item1Icon}}}|50px|link={{{item1Name}}}]] | ||
Line 18: | Line 17: | ||
{{!}}{{{item1Quantity}}} | {{!}}{{{item1Quantity}}} | ||
{{!}}{{chancedisplay|{{{item1Chance}}}}} | {{!}}{{chancedisplay|{{{item1Chance}}}}} | ||
}} | }}{{#if:{{{item2Name|}}}| | ||
{{#if:{{{item2Name|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item2Icon}}}|50px|link={{{item2Name}}}]] | {{!}}[[File:{{{item2Icon}}}|50px|link={{{item2Name}}}]] | ||
Line 25: | Line 23: | ||
{{!}}{{{item2Quantity}}} | {{!}}{{{item2Quantity}}} | ||
{{!}}{{chancedisplay|{{{item2Chance}}}}} | {{!}}{{chancedisplay|{{{item2Chance}}}}} | ||
}} | }}{{#if:{{{item3Name|}}}| | ||
{{#if:{{{item3Name|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item3Icon}}}|50px|link={{{item3Name}}}]] | {{!}}[[File:{{{item3Icon}}}|50px|link={{{item3Name}}}]] | ||
Line 32: | Line 29: | ||
{{!}}{{{item3Quantity}}} | {{!}}{{{item3Quantity}}} | ||
{{!}}{{chancedisplay|{{{item3Chance}}}}} | {{!}}{{chancedisplay|{{{item3Chance}}}}} | ||
}} | }}{{#if:{{{item4Name|}}}| | ||
{{#if:{{{item4Name|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item4Icon}}}|50px|link={{{item4Name}}}]] | {{!}}[[File:{{{item4Icon}}}|50px|link={{{item4Name}}}]] | ||
Line 39: | Line 35: | ||
{{!}}{{{item4Quantity}}} | {{!}}{{{item4Quantity}}} | ||
{{!}}{{chancedisplay|{{{item4Chance}}}}} | {{!}}{{chancedisplay|{{{item4Chance}}}}} | ||
}} | }}{{#if:{{{item5Name|}}}| | ||
{{#if:{{{item5Name|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item5Icon}}}|50px|link={{{item5Name}}}]] | {{!}}[[File:{{{item5Icon}}}|50px|link={{{item5Name}}}]] | ||
Line 46: | Line 41: | ||
{{!}}{{{item5Quantity}}} | {{!}}{{{item5Quantity}}} | ||
{{!}}{{chancedisplay|{{{item5Chance}}}}} | {{!}}{{chancedisplay|{{{item5Chance}}}}} | ||
}} | }}{{#if:{{{item6Name|}}}| | ||
{{#if:{{{item6Name|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item6Icon}}}|50px|link={{{item6Name}}}]] | {{!}}[[File:{{{item6Icon}}}|50px|link={{{item6Name}}}]] | ||
Line 53: | Line 47: | ||
{{!}}{{{item6Quantity}}} | {{!}}{{{item6Quantity}}} | ||
{{!}}{{chancedisplay|{{{item6Chance}}}}} | {{!}}{{chancedisplay|{{{item6Chance}}}}} | ||
}} | }}{{#if:{{{item7Name|}}}| | ||
{{#if:{{{item7Name|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item7Icon}}}|50px|link={{{item7Name}}}]] | {{!}}[[File:{{{item7Icon}}}|50px|link={{{item7Name}}}]] | ||
Line 60: | Line 53: | ||
{{!}}{{{item7Quantity}}} | {{!}}{{{item7Quantity}}} | ||
{{!}}{{chancedisplay|{{{item7Chance}}}}} | {{!}}{{chancedisplay|{{{item7Chance}}}}} | ||
}} | }}{{#if:{{{item8Name|}}}| | ||
{{#if:{{{item8Name|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item8Icon}}}|50px|link={{{item8Name}}}]] | {{!}}[[File:{{{item8Icon}}}|50px|link={{{item8Name}}}]] |
Revision as of 07:28, 28 November 2020
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}} }}