Template:DropTable/append/function: Difference between revisions
From IdleOn MMO Wiki
< Template:DropTable | append
imported>Kiokurashi No edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_attach:_table= | <noinclude>{{#cargo_attach:_table=RareDropTables}}</noinclude><includeonly>{{#ifeq:{{#pos:{{PAGENAME}}|DropTable}}| ||{{#cargo_store:_table=RareDropTables | ||
|TableName={{#ifeq:{{#invoke:LuaVar|var|name=Source}}|Source is undefined.|{{PAGENAME}}|{{#invoke:LuaVar|var|name=Source}}}}, {{{tablename|Error}}} | |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}}}}} | |TableType={{{tabletype|{{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Base}}}}} | ||
Line 9: | Line 9: | ||
|DropRate={{#expr:{{#invoke:LuaVar|var|name=AppendRate}} * {{{subrate|0}}}}} | |DropRate={{#expr:{{#invoke:LuaVar|var|name=AppendRate}} * {{{subrate|0}}}}} | ||
|SpecialSource={{{special|}}} | |SpecialSource={{{special|}}} | ||
}}{{DropTable/row | }}}}<!-- | ||
-->{{DropTable/row | |||
|image={{{image|}}} | |image={{{image|}}} | ||
|itemtype={{{itemtype|Item}}} | |itemtype={{{itemtype|Item}}} |
Revision as of 01:42, 24 March 2024
This template adds rows to the table "RareDropTables", which is declared by the template RareDropTable. View table.