Template:DropTable: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
mNo edit summary
mNo edit summary
 
(65 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|class="wikitable sortable mw-collapsible"
<includeonly>{{MainDrops|{{{item|{{{1}}}}}}|{{{source|{{PAGENAME}}}}}|{{{dropchance|{{{2|}}}}}}|{{{quantity|{{{3|}}}}}}}}<!--
|+{{{caption}}}
|-style = "background:#916699;border-radius:10px 10px 0px 0px;"
!Icon
!Item
!Quantity
!Chance
{{#if:{{{coinQuantiy|}}}|
        {{!}}-
        {{!}}
        {{!}}{{coindisplay|input={{{coinQuantiy}}}}}
        {{!}}
        {{!}}1 in {{#expr:1/{{{coinChance}}} round 2}}
}}
{{#if:{{{item1Name|}}}|
        {{!}}-
        {{!}}[[File:{{{item1Icon}}}|50px|link={{{item1Name}}}]]
        {{!}}{{{item1Name}}}
        {{!}}{{{item1Quantity}}}
        {{!}}1 in {{#expr:1/{{{item1Chance}}} round 2}}
}}
{{#if:{{{item2Name|}}}|
        {{!}}-
        {{!}}[[File:{{{item2Icon}}}|50px|link={{{item2Name}}}]]
        {{!}}{{{item2Name}}}
        {{!}}{{{item2Quantity}}}
        {{!}}1 in {{#expr:1/{{{item2Chance}}} round 2}}
}}
{{#if:{{{item3Name|}}}|
        {{!}}-
        {{!}}[[File:{{{item3Icon}}}|50px|link={{{item3Name}}}]]
        {{!}}{{{item3Name}}}
        {{!}}{{{item3Quantity}}}
        {{!}}1 in {{#expr:1/{{{item3Chance}}} round 2}}
}}
{{#if:{{{item4Name|}}}|
        {{!}}-
        {{!}}[[File:{{{item4Icon}}}|50px|link={{{item4Name}}}]]
        {{!}}{{{item4Name}}}
        {{!}}{{{item4Quantity}}}
        {{!}}1 in {{#expr:1/{{{item4Chance}}} round 2}}
}}
{{#if:{{{item5Name|}}}|
        {{!}}-
        {{!}}[[File:{{{item5Icon}}}|50px|link={{{item5Name}}}]]
        {{!}}{{{item5Name}}}
        {{!}}{{{item5Quantity}}}
        {{!}}1 in {{#expr:1/{{{item5Chance}}} round 2}}
}}
{{#if:{{{item6Name|}}}|
        {{!}}-
        {{!}}[[File:{{{item6Icon}}}|50px|link={{{item6Name}}}]]
        {{!}}{{{item6Name}}}
        {{!}}{{{item6Quantity}}}
        {{!}}1 in {{#expr:1/{{{item6Chance}}} round 2}}
}}
{{#if:{{{item7Name|}}}|
        {{!}}-
        {{!}}[[File:{{{item7Icon}}}|50px|link={{{item7Name}}}]]
        {{!}}{{{item7Name}}}
        {{!}}{{{item7Quantity}}}
        {{!}}1 in {{#expr:1/{{{item7Chance}}} round 2}}
}}
{{#if:{{{item8Name|}}}|
        {{!}}-
        {{!}}[[File:{{{item8Icon}}}|50px|link={{{item8Name}}}]]
        {{!}}{{{item8Name}}}
        {{!}}{{{item8Quantity}}}
        {{!}}1 in {{#expr:1/{{{item8Chance}}} round 2}}
}}
{{#if:{{{subtable1|}}}|{{{subtable1}}}}}
{{#if:{{{subtable2|}}}|{{{subtable2}}}}}
{{#if:{{{subtable3|}}}|{{{subtable3}}}}}
{{#if:{{{subtable4|}}}|{{{subtable4}}}}}
{{#if:{{{subtable5|}}}|{{{subtable5}}}}}
{{#if:{{{subtable6|}}}|{{{subtable6}}}}}
{{#if:{{{subtable7|}}}|{{{subtable7}}}}}
{{#if:{{{subtable8|}}}|{{{subtable8}}}}}


|}
-->{{#if:{{{hide|}}}||{{DropTable/row
|image={{{image|[[File:{{{1|{{{item}}}}}}.png|link={{{1|{{{item}}}}}}]]}}}
|itemtype={{{itemtype|Item}}}
|item={{{item|{{{1}}}}}}
|special={{{special|}}}
|quantity={{{quantity|{{{3|}}}}}}
|droprate={{{dropchance|{{{2|}}}}}}
|tabletype={{{tabletype|Base}}}
}}}}</includeonly><noinclude>
<pre>
{{DropTable
  |tablename= Name of the table being stored on that page. Unnecesary for Monster base loot (Ex: Slime Card on slimes).
  |tabletype= Base, Rare, or Mega. Used to tell what level of table. Defaults to Base ('Monster' level)
  |source= The actual source of the drops. Defaults to Pagename. (Use for things like Chaotic bosses or Skill tables).
  |image= The image associate with the item. Generally handled by the templates.
  |item= The name of the item dropped.
  |itemtype= Item, Recipe, Talent, Coin, or Card. Used for handling the formating of rows. Defaults to Item.
  |quantity= The quantity.
  |dropchance= The chance, as a Float, for the item to drop.
              Note: This is for the table itself. Calculations of sub table rates are done by the template.
  |special= Used for optional indicators.
          (Example: ([[Mutton]]) for cloudsound because it is only during the NPC's quest htat the item is available.)
}}
</pre></noinclude>

Latest revision as of 03:11, 24 March 2024

 {{DropTable
  |tablename= Name of the table being stored on that page. Unnecesary for Monster base loot (Ex: Slime Card on slimes).
  |tabletype= Base, Rare, or Mega. Used to tell what level of table. Defaults to Base ('Monster' level)
  |source= The actual source of the drops. Defaults to Pagename. (Use for things like Chaotic bosses or Skill tables).
  |image= The image associate with the item. Generally handled by the templates.
  |item= The name of the item dropped.
  |itemtype= Item, Recipe, Talent, Coin, or Card. Used for handling the formating of rows. Defaults to Item.
  |quantity= The quantity.
  |dropchance= The chance, as a Float, for the item to drop. 
               Note: This is for the table itself. Calculations of sub table rates are done by the template.
  |special= Used for optional indicators. 
           (Example: ([[Mutton]]) for cloudsound because it is only during the NPC's quest htat the item is available.)
 }}