Template:DropTable/display: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Kiokurashi
No edit summary
Line 13: Line 13:


## Rare Rows
## Rare Rows
-->{{#ifeq:{{#invoke:LuaVar|varDefineEcho|name=RareRows|value={{#cargo_query:tables=DropTables
-->
{{#if:{{#invoke:LuaVar|varDefine|name=RareRows|value={{#cargo_query:tables=DropTables
|fields=TableName=tablename, TableType=tabletype, DropImage=image, DropItem=item, DropQuantity=quantity, DropRate=droprate, ItemType=itemtype
|fields=TableName=tablename, TableType=tabletype, DropImage=image, DropItem=item, DropQuantity=quantity, DropRate=droprate, ItemType=itemtype
|where=DropSourceEntity="{{{source|{{PAGENAME}}}}}" AND TableType="Rare" AND (TableName HOLDS LIKE "%{{{raretable|}}}")
|where=DropSourceEntity="{{{source|{{PAGENAME}}}}}" AND TableType="Rare" AND (TableName HOLDS LIKE "%{{{raretable|}}}")
Line 19: Line 20:
|template=DropTable/testrow
|template=DropTable/testrow
|named args=yes
|named args=yes
|default=None
|default=
|order by=_ID
|order by=_ID
}}|None||{{DropTable/separator|rarity=rare|{{{raretable|}}}}}{{#invoke:LuaVar|var|name=RareRows}}}}
}}|
<!--
{{DropTable/separator|rarity=rare|{{{raretable|}}}}}
{{#invoke:LuaVar|var|name=RareRows}}
}}<!--


## Mega-Rare Rows
## Mega-Rare Rows

Revision as of 21:10, 29 September 2021

Error: Table DropTables not found.

{{#if:

Error: Table DropTables not found.