Template:DropTable: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
mNo edit summary
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><!--
<includeonly>{{MainDrops|{{{item|{{{1}}}}}}|{{{source|{{PAGENAME}}}}}|{{{dropchance|{{{2|}}}}}}|{{{quantity|{{{3|}}}}}}}}<!--


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

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