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=AppendRate|value={{{2|}}}}}<includeonly>|-
{{#invoke:LuaVar|varDefine|name=AppendRate|value={{{2|}}}}}
{{#cargo_query:tables=DropTables
{{#cargo_query:tables=DropTables
|fields=OrderNumber=ordernumber, TableName=tablename, TableType=tabletype, DropItem=item, DropQuantity=quantity, DropRate=subrate, CONCAT("yes")=displayrow
|fields=OrderNumber=ordernumber, TableName=tablename, TableType=tabletype, DropItem=item, DropQuantity=quantity, DropRate=subrate
|where=TableName="{{{1|}}}"
|where=TableName="{{{1|}}}"
|format=template
|format=template
Line 7: Line 7:
|named args=yes
|named args=yes
|default=
|default=
}}</includeonly>{{#invoke:LuaVar|varDefine|name=AppendRate|value=NULL}} <!-- Just in case. -->
}}{{#invoke:LuaVar|varDefine|name=AppendRate|value=NULL}} <!-- Just in case. -->

Revision as of 01:44, 29 September 2021

Error: Table DropTables not found.