Template:TokenPropertyGallery: Difference between revisions

From wizzypedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
{{#cargo_query:
{{#cargo_query:
tables=TokenProperties
tables=TokenProperties
|fields=TokenProperties.filename, TokenProperties.displayname
|fields=TokenProperties.filename, TokenProperties.displayname, _pageName
|where=TokenProperties.collection='{{{collection}}}' AND TokenProperties.traitname='{{{traitname}}}'
|where=TokenProperties.collection='{{{collection}}}' AND TokenProperties.traitname='{{{traitname}}}'
|format=gallery
|named args=yes
|named args=yes
|format=gallery
|caption field=description
|link field=displayname
|show filename=0
|show filename=0
|show dimensions=0
|show bytes=0
|show bytes=0
|mode=traditional
|caption field=displayname
|alt field=displayname
}}<includeonly>
}}<includeonly>

Revision as of 03:04, 6 July 2022

This is the 'TokenPropertyGallery' template; it should be called in the following format:

{{TokenPropertyGallery|collection=wizards|traitname=head}}