Template:DropTable/append: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Kiokurashi
No edit summary
Line 1: Line 1:
{{#invoke:LuaVar|varDefine|name=TableNames|value={{PAGENAME}}, {{{1|}}}}}
{{#invoke:LuaVar|varDefine|name=AppendRate|value={{{2|}}}}}
{{#invoke:LuaVar|varDefine|name=AppendRate|value={{{2|}}}}}
{{#if:{{{source|}}}|{{#invoke:LuaVar|varDefine|name=Source|value={{{source|}}}}}}}
{{#cargo_query:tables=DropTables
{{#cargo_query:tables=DropTables
|fields=OrderNumber=ordernumber, TableName=tablename, TableType=tabletype, DropItem=item, DropQuantity=quantity, DropRate=subrate
|fields=TableName=tablename, TableType=tabletype, DropItem=item, DropQuantity=quantity, DropRate=subrate, DropImage=image
|where=DropSourceEntity="{{{1|}}}"
|where=DropSourceEntity="{{{1|}}}"
|format=template
|format=template
Line 8: Line 10:
|default=
|default=
|order by=_ID
|order by=_ID
}}{{#invoke:LuaVar|varDefine|name=AppendRate|value=NULL}} <!-- Just in case. -->
}}

Revision as of 18:53, 29 September 2021


Error: Table DropTables not found.