Template:TokenPropertyImage: Difference between revisions

From wizzypedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{TokenPropertyImage|collection=wizards|traitname=head|displayname=Bippadotta}}
{{TokenPropertyImage|collection=wizards|traitname=head|displayname=Bippadotta}}
</pre>
</pre>
And it will render like this:
{{TokenPropertyImage|collection=wizards|traitname=head|displayname=Bippadotta}}
Edit the page to see the source code.
Edit the page to see the source code.
</noinclude><includeonly>
</noinclude><includeonly>
Line 10: Line 14:
|fields=TokenProperties.filename, TokenProperties.displayname
|fields=TokenProperties.filename, TokenProperties.displayname
|where=TokenProperties.displayname='{{{displayname}}}' AND TokenProperties.collection='{{{collection}}}' AND TokenProperties.traitname='{{{traitname}}}'
|where=TokenProperties.displayname='{{{displayname}}}' AND TokenProperties.collection='{{{collection}}}' AND TokenProperties.traitname='{{{traitname}}}'
|limit=1
|format=template
|format=template
|template=TokenPropertyImageFile
|template=TokenPropertyImageFile

Latest revision as of 02:55, 6 July 2022

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

{{TokenPropertyImage|collection=wizards|traitname=head|displayname=Bippadotta}}

And it will render like this:


Edit the page to see the source code.