Template:RareDropTable/append/function: Difference between revisions

From IdleOn MMO Wiki
(Created page with "<noinclude>{{#cargo_attach:_table=RareDropTables}}</noinclude><includeonly>{{#cargo_store:_table=RareDropTables |TableName={{#ifeq:{{#invoke:LuaVar|var|name=Source}}|Source is undefined.|{{PAGENAME}}|{{#invoke:LuaVar|var|name=Source}}}}, {{{tablename|Error}}} |TableType={{{tabletype|{{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Base}}}}} |DropSourceEntity={{#invoke:LuaVar|var|name=Source}} |DropImage={{{image|}}} |Dro...")
 
mNo edit summary
 
Line 1: Line 1:
<noinclude>{{#cargo_attach:_table=RareDropTables}}</noinclude><includeonly>{{#cargo_store:_table=RareDropTables
<noinclude>{{#cargo_attach:_table=RareDropTables}}</noinclude><includeonly>{{#cargo_store:_table=RareDropTables
  |TableName={{#ifeq:{{#invoke:LuaVar|var|name=Source}}|Source is undefined.|{{PAGENAME}}|{{#invoke:LuaVar|var|name=Source}}}}, {{{tablename|Error}}}
   |TableType={{{tabletype|{{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Rare}}}}}
   |TableType={{{tabletype|{{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Base}}}}}
   |DropSourceEntity={{#invoke:LuaVar|var|name=Source}}
   |DropSourceEntity={{#invoke:LuaVar|var|name=Source}}
   |DropImage={{{image|}}}
   |RecipeTier={{{rectier|}}}
   |DropItem={{{item|}}}
   |DropItem={{{item|}}}
   |ItemType={{{itemtype|Item}}}
   |ItemType={{{itemtype|Item}}}
Line 12: Line 11:


-->{{DropTable/row
-->{{DropTable/row
|image={{{image|}}}
|rectier={{{rectier|}}}
|itemtype={{{itemtype|Item}}}
|itemtype={{{itemtype|Item}}}
|item={{{item|}}}
|item={{{item|}}}

Latest revision as of 02:34, 25 March 2024

This template adds rows to the table "RareDropTables", which is declared by the template RareDropTable. View table.