Template:DropTable: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
mNo edit summary
mNo edit summary
 
(68 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}}}
 
!Icon
-->{{#if:{{{hide|}}}||{{DropTable/row
!Item
|image={{{image|[[File:{{{1|{{{item}}}}}}.png|link={{{1|{{{item}}}}}}]]}}}
!Quantity
|itemtype={{{itemtype|Item}}}
!Chance
|item={{{item|{{{1}}}}}}
{{#if:{{{coinQuantiy|}}}|
|special={{{special|}}}
        {{!}}-
|quantity={{{quantity|{{{3|}}}}}}
        {{!}}[[File:Copper Coin.png|50px]]
|droprate={{{dropchance|{{{2|}}}}}}
        {{!}}Coins
|tabletype={{{tabletype|Base}}}
        {{!}}{{{coinQuantiy}}}
}}}}</includeonly><noinclude>
        {{!}}1 in {{#expr:1/{{{coinChance}}} round 2}}
<pre>
}}
{{DropTable
{{#if:{{{item1Name|}}}|
  |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)
        {{!}}[[File:{{{item1Icon}}}|50px|link={{{item1Name}}}]]
  |source= The actual source of the drops. Defaults to Pagename. (Use for things like Chaotic bosses or Skill tables).
        {{!}}{{{item1Name}}}
  |image= The image associate with the item. Generally handled by the templates.
        {{!}}{{{item1Quantity}}}
  |item= The name of the item dropped.
        {{!}}1 in {{#expr:1/{{{item1Chance}}} round 2}}
  |itemtype= Item, Recipe, Talent, Coin, or Card. Used for handling the formating of rows. Defaults to Item.
}}
  |quantity= The quantity.
{{#if:{{{item2Name|}}}|
  |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.
        {{!}}[[File:{{{item2Icon}}}|50px|link={{{item2Name}}}]]
  |special= Used for optional indicators.
        {{!}}{{{item2Name}}}
          (Example: ([[Mutton]]) for cloudsound because it is only during the NPC's quest htat the item is available.)
        {{!}}{{{item2Quantity}}}
}}
        {{!}}1 in {{#expr:1/{{{item2Chance}}} round 2}}
</pre></noinclude>
}}
{{#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:{{{subtable|}}}|{{{subtable}}}}}
{{#if:{{{subtable1|}}}|{{{subtable1}}}}}
|}

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.)
 }}