Template:DropTable/append: Difference between revisions
From IdleOn MMO Wiki
imported>Kiokurashi No edit summary |
imported>Kiokurashi No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:LuaVar|varDefine|name=TableNames|value={{PAGENAME}}, {{{1|}}}}}<!-- | <includeonly>{{#invoke:LuaVar|varDefine|name=TableNames|value={{{source|{{PAGENAME}}}}}, {{{1|}}}}}<!-- | ||
-->{{#invoke:LuaVar|varDefine|name=Append|value=Yes}}<!-- | -->{{#invoke:LuaVar|varDefine|name=Append|value=Yes}}<!-- | ||
-->{{#invoke:LuaVar|varDefine|name=AppendRate|value={{{2|}}}}}<!-- | -->{{#invoke:LuaVar|varDefine|name=AppendRate|value={{{2|}}}}}<!-- | ||
-->{{#if:{{{source|}}}|{{#invoke:LuaVar|varDefine|name=Source|value={{{source|}}}}}}}<!-- | -->{{#if:{{{source|}}}|{{#invoke:LuaVar|varDefine|name=Source|value={{{source|}}}}}}}<!-- | ||
-->{{#cargo_query:tables=DropTables | -->{{#cargo_query:tables=DropTables | ||
|fields=TableName=tablename, TableType=tabletype, DropItem=item, DropQuantity=quantity, ItemType=itemtype, DropRate=subrate, DropImage=image | |fields=TableName=tablename, TableType=tabletype, DropItem=item, DropQuantity=quantity, ItemType=itemtype, DropRate=subrate, DropImage=image, SpecialSource=special | ||
|where=DropSourceEntity="{{{1|}}}" | |where=DropSourceEntity="{{{1|}}}" | ||
|format=template | |format=template |