Template:AthenaeumItemGallery: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Athenaeum | tables=Athenaeum | ||
|fields=_pageName, Athenaeum.id, Athenaeum.name=displayname, CONCAT( | |fields=_pageName, Athenaeum.id, Athenaeum.name=displayname, CONCAT(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 | ||
Line 28: | Line 28: | ||
|limit={{#if:{{{limit|}}}|{{{limit}}}|20000}} | |limit={{#if:{{{limit|}}}|{{{limit}}}|20000}} | ||
}} | }} | ||
|mode=packed | |||
|mode=packed | |mode=packed | ||
|widths={{#if:{{{widths|}}}|{{{widths}}}|120px}} | |widths={{#if:{{{widths|}}}|{{{widths}}}|120px}} | ||
|heights={{#if:{{{heights|}}}|{{{heights}}}|120px}} | |heights={{#if:{{{heights|}}}|{{{heights}}}|120px}} | ||
}} | }} | ||
<includeonly> | <includeonly> |
Latest revision as of 17:12, 19 November 2024
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