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
-->
-->{{#invoke:LuaVar|varDefine|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 20: Line 19:
|template=DropTable/testrow
|template=DropTable/testrow
|named args=yes
|named args=yes
|default=
|default=RareRows is undefined.
|order by=_ID
|order by=_ID
}}|
}}
{{DropTable/separator|rarity=rare|{{{raretable|}}}}}
{{#ifeq:|{{#invoke:LuaVar|var|name=RareRows}}|RareRows is undefined.||{{DropTable/separator|rarity=rare|{{{raretable|}}}}}{{#invoke:LuaVar|var|name=RareRows}}}}<!--
{{#invoke:LuaVar|var|name=RareRows}}
}}<!--


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

Revision as of 21:12, 29 September 2021

Error: Table DropTables not found.

{{#invoke:LuaVar|varDefine|name=RareRows|value=

Error: Table DropTables not found.
Error: Table DropTables not found.