Template:RareDropTable: Difference between revisions

From IdleOn MMO Wiki
(Created page with "<noinclude><!-- ### Cargo Declare ### -->{{#cargo_declare:_table=RareDropTables |TableName=List (,) of String |TableType=String (allowed values=Base,Rare,Mega;mandatory) |DropSourceEntity=String |DropImage=Wikitext |DropItem=Wikitext |ItemType=String (allowed values=Item,Recipe,Talent,Coin,Card,Divider) |DropQuantity=Integer |DropRate=Float (mandatory) |SpecialSource=Wikitext }}</noinclude><!-- ### Cargo Store ### --><includeonly>{{#cargo_store:_table...")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
### Cargo Declare ###
### Cargo Declare ###
-->{{#cargo_declare:_table=RareDropTables
-->{{#cargo_declare:_table=RareDropTables
  |TableName=List (,) of String
   |TableType=String (allowed values=Rare,Mega;mandatory)
   |TableType=String (allowed values=Base,Rare,Mega;mandatory)
   |DropSourceEntity=String
   |DropSourceEntity=String
  |DropImage=Wikitext
   |DropItem=Wikitext
   |DropItem=Wikitext
   |ItemType=String (allowed values=Item,Recipe,Talent,Coin,Card,Divider)
   |ItemType=String (allowed values=Item,Recipe,Talent,Coin,Card,Divider)
  |RecipeTier=Integer
   |DropQuantity=Integer
   |DropQuantity=Integer
   |DropRate=Float (mandatory)
   |DropRate=Float (mandatory)
Line 16: Line 15:
### Cargo Store ###
### Cargo Store ###
--><includeonly>{{#cargo_store:_table=RareDropTables
--><includeonly>{{#cargo_store:_table=RareDropTables
  |TableName={{{tablename|}}}
   |TableType={{{tabletype|Base}}}
   |TableType={{{tabletype|Base}}}
   |DropSourceEntity={{{source|{{PAGENAME}}}}}
   |DropSourceEntity={{{source|{{PAGENAME}}}}}
  |DropImage={{{image|[[File:{{{1|{{{item}}}}}}.png|link={{{1|{{{item}}}}}}]]}}}
   |DropItem={{{item|{{{1}}}}}}
   |DropItem={{{item|{{{1}}}}}}
   |ItemType={{{itemtype|Item}}}
   |ItemType={{{itemtype|Item}}}
  |RecipeTier={{{rectier|0}}}
   |DropQuantity={{{quantity|{{{3|}}}}}}
   |DropQuantity={{{quantity|{{{3|}}}}}}
   |DropRate={{{dropchance|{{{2|}}}}}}
   |DropRate={{{dropchance|{{{2|}}}}}}
Line 28: Line 26:


-->{{DropTable/row
-->{{DropTable/row
|image={{{image|[[File:{{{1|{{{item}}}}}}.png|link={{{1|{{{item}}}}}}]]}}}
|rectier={{{rectier|0}}}
|itemtype={{{itemtype|Item}}}
|itemtype={{{itemtype|Item}}}
|item={{{item|{{{1}}}}}}
|item={{{item|{{{1}}}}}}
Line 35: Line 33:
|droprate={{{dropchance|{{{2|}}}}}}
|droprate={{{dropchance|{{{2|}}}}}}
|tabletype={{{tabletype|Base}}}
|tabletype={{{tabletype|Base}}}
}}</includeonly><noinclude>
}}[[Category:Rare Tables]]</includeonly><noinclude>
<pre>
<pre>
  {{DropTable
  {{DropTable

Latest revision as of 06:41, 25 March 2024

This template defines the table "RareDropTables". View table.

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