Template:DropTable: Difference between revisions
From IdleOn MMO Wiki
imported>BigCoight mNo edit summary |
imported>BigCoight mNo edit summary |
||
Line 10: | Line 10: | ||
{{!}}{{coindisplay|input={{{coinQuantity}}}}} | {{!}}{{coindisplay|input={{{coinQuantity}}}}} | ||
{{!}} | {{!}} | ||
{{!}}{{chancedisplay|{{{coinChance}}}}} | {{!}}{{chancedisplay|{{{coinChance}}}}}}} | ||
}}{{#if:{{{item1Name|}}}| | {{#if:{{{item1Name|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item1Icon}}}|50px|link={{{item1Name}}}]] | {{!}}[[File:{{{item1Icon}}}|50px|link={{{item1Name}}}]] | ||
{{!}}{{{item1Name}}} | {{!}}{{{item1Name}}} | ||
{{!}}{{{item1Quantity}}} | {{!}}{{{item1Quantity}}} | ||
{{!}}{{chancedisplay|{{{item1Chance}}}}} | {{!}}{{chancedisplay|{{{item1Chance}}}}}}} | ||
}}{{#if:{{{item2Name|}}}| | {{#if:{{{item2Name|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item2Icon}}}|50px|link={{{item2Name}}}]] | {{!}}[[File:{{{item2Icon}}}|50px|link={{{item2Name}}}]] | ||
{{!}}{{{item2Name}}} | {{!}}{{{item2Name}}} | ||
{{!}}{{{item2Quantity}}} | {{!}}{{{item2Quantity}}} | ||
{{!}}{{chancedisplay|{{{item2Chance}}}}} | {{!}}{{chancedisplay|{{{item2Chance}}}}}}} | ||
}}{{#if:{{{item3Name|}}}| | {{#if:{{{item3Name|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item3Icon}}}|50px|link={{{item3Name}}}]] | {{!}}[[File:{{{item3Icon}}}|50px|link={{{item3Name}}}]] | ||
{{!}}{{{item3Name}}} | {{!}}{{{item3Name}}} | ||
{{!}}{{{item3Quantity}}} | {{!}}{{{item3Quantity}}} | ||
{{!}}{{chancedisplay|{{{item3Chance}}}}} | {{!}}{{chancedisplay|{{{item3Chance}}}}}}} | ||
}}{{#if:{{{item4Name|}}}| | {{#if:{{{item4Name|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item4Icon}}}|50px|link={{{item4Name}}}]] | {{!}}[[File:{{{item4Icon}}}|50px|link={{{item4Name}}}]] | ||
{{!}}{{{item4Name}}} | {{!}}{{{item4Name}}} | ||
{{!}}{{{item4Quantity}}} | {{!}}{{{item4Quantity}}} | ||
{{!}}{{chancedisplay|{{{item4Chance}}}}} | {{!}}{{chancedisplay|{{{item4Chance}}}}}}} | ||
}}{{#if:{{{item5Name|}}}| | {{#if:{{{item5Name|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item5Icon}}}|50px|link={{{item5Name}}}]] | {{!}}[[File:{{{item5Icon}}}|50px|link={{{item5Name}}}]] | ||
{{!}}{{{item5Name}}} | {{!}}{{{item5Name}}} | ||
{{!}}{{{item5Quantity}}} | {{!}}{{{item5Quantity}}} | ||
{{!}}{{chancedisplay|{{{item5Chance}}}}} | {{!}}{{chancedisplay|{{{item5Chance}}}}}}} | ||
}}{{#if:{{{item6Name|}}}| | {{#if:{{{item6Name|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item6Icon}}}|50px|link={{{item6Name}}}]] | {{!}}[[File:{{{item6Icon}}}|50px|link={{{item6Name}}}]] | ||
{{!}}{{{item6Name}}} | {{!}}{{{item6Name}}} | ||
{{!}}{{{item6Quantity}}} | {{!}}{{{item6Quantity}}} | ||
{{!}}{{chancedisplay|{{{item6Chance}}}}} | {{!}}{{chancedisplay|{{{item6Chance}}}}}}} | ||
}}{{#if:{{{item7Name|}}}| | {{#if:{{{item7Name|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item7Icon}}}|50px|link={{{item7Name}}}]] | {{!}}[[File:{{{item7Icon}}}|50px|link={{{item7Name}}}]] | ||
{{!}}{{{item7Name}}} | {{!}}{{{item7Name}}} | ||
{{!}}{{{item7Quantity}}} | {{!}}{{{item7Quantity}}} | ||
{{!}}{{chancedisplay|{{{item7Chance}}}}} | {{!}}{{chancedisplay|{{{item7Chance}}}}}}} | ||
}}{{#if:{{{item8Name|}}}| | {{#if:{{{item8Name|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{item8Icon}}}|50px|link={{{item8Name}}}]] | {{!}}[[File:{{{item8Icon}}}|50px|link={{{item8Name}}}]] | ||
{{!}}{{{item8Name}}} | {{!}}{{{item8Name}}} | ||
{{!}}{{{item8Quantity}}} | {{!}}{{{item8Quantity}}} | ||
{{!}}{{chancedisplay|{{{item8Chance}}}}} | {{!}}{{chancedisplay|{{{item8Chance}}}}}}} | ||
}}{{#if:{{{subtable1|}}}|{{{subtable1}}}}}{{#if:{{{subtable2|}}}|{{{subtable2}}}}}{{#if:{{{subtable3|}}}|{{{subtable3}}}}}{{#if:{{{subtable4|}}}|{{{subtable4}}}}}{{#if:{{{subtable5|}}}|{{{subtable5}}}}}{{#if:{{{subtable6|}}}|{{{subtable6}}}}}{{#if:{{{subtable7|}}}|{{{subtable7}}}}}{{#if:{{{subtable8|}}}|{{{subtable8}}}}}|}</includeonly> | {{#if:{{{subtable1|}}}|{{{subtable1}}}}}{{#if:{{{subtable2|}}}|{{{subtable2}}}}}{{#if:{{{subtable3|}}}|{{{subtable3}}}}}{{#if:{{{subtable4|}}}|{{{subtable4}}}}}{{#if:{{{subtable5|}}}|{{{subtable5}}}}}{{#if:{{{subtable6|}}}|{{{subtable6}}}}}{{#if:{{{subtable7|}}}|{{{subtable7}}}}}{{#if:{{{subtable8|}}}|{{{subtable8}}}}}|}</includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 07:29, 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}} }}