Template:TokenPropertyImage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
This is the 'TokenPropertyImage' template; it should be called in the following format: | |||
<pre> | |||
{{TokenPropertyImage|collection=wizards|traitname=head|displayname=Bippadotta}} | |||
</pre> | |||
And it will render like this: | |||
{{TokenPropertyImage|collection=wizards|traitname=head|displayname=Bippadotta}} | |||
Edit the page to see the source code. | |||
</noinclude><includeonly> | |||
{{#cargo_query: | {{#cargo_query: | ||
tables=TokenProperties | tables=TokenProperties | ||
|fields=TokenProperties.filename, TokenProperties.displayname | |fields=TokenProperties.filename, TokenProperties.displayname | ||
|where=TokenProperties.displayname='{{{displayname}}}' AND TokenProperties.collection='{{{collection}}}' AND TokenProperties. | |where=TokenProperties.displayname='{{{displayname}}}' AND TokenProperties.collection='{{{collection}}}' AND TokenProperties.traitname='{{{traitname}}}' | ||
|format=template | |format=template | ||
|template=TokenPropertyImageFile | |template=TokenPropertyImageFile | ||
Line 9: | Line 19: | ||
|delimiter=\n | |delimiter=\n | ||
|more results text= | |more results text= | ||
}} | }}<includeonly> |