Template:TokenPropertyImage: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#cargo_query: tables=TokenProperties |fields=TokenProperties.filename |where=TokenProperties.displayname='Bippadotta' |limit=1 |format=list |named args=yes }}") |
No edit summary |
||
(12 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 | |fields=TokenProperties.filename, TokenProperties.displayname | ||
|where=TokenProperties.displayname=' | |where=TokenProperties.displayname='{{{displayname}}}' AND TokenProperties.collection='{{{collection}}}' AND TokenProperties.traitname='{{{traitname}}}' | ||
| | |format=template | ||
| | |template=TokenPropertyImageFile | ||
|named args=yes | |named args=yes | ||
}} | |delimiter=\n | ||
|more results text= | |||
}}<includeonly> |