Template:AthenaeumItemGallery: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
Line 19: | Line 19: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Athenaeum | tables=Athenaeum | ||
|fields=_pageName, Athenaeum.id, Athenaeum.name=displayname, CONCAT(Athenaeum.id, '.png')=filename, CONCAT({{#ifeq:{{{hidetitle|0}}}|1|1|0}})=hidetitle | |fields=_pageName, Athenaeum.id, Athenaeum.name=displayname, CONCAT('https://portal.forgottenrunes.com/api/spawn/img/', Athenaeum.id, '.png')=filename, CONCAT({{#ifeq:{{{hidetitle|0}}}|1|1|0}})=hidetitle | ||
|order by={{#if:{{{sortById|}}}|_rowID|Athenaeum.name}} | |order by={{#if:{{{sortById|}}}|_rowID|Athenaeum.name}} | ||
|format=template | |format=template |
Revision as of 15:33, 23 May 2023
This is the 'TokenPropertyGallery' template; it should be called in the following format:
{{AthenaeumItemGallery}}
Options
- widths and heights - You can also limit the size by using the optional widths and heights parameters (you must use both)
- hidetitle - default 0, set to 1 if you want to turn them off
- limit - limit number, default 20000
Example