Template:TokenPropertyGalleryItem: Difference between revisions

From wizzypedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:




</noinclude><includeonly>File:{{{filename}}}|link={{{displayname}}}{{#ifeq:{{{hidetitle|0}}}|1||[[{{{displayname}}}]]}} - hi hidetitle is {{{hidetitle}}}</includeonly>
</noinclude><includeonly>File:{{{filename}}}|link={{{displayname}}}|{{#ifeq:{{{hidetitle|0}}}|1||[[{{{displayname}}}]]}} - hi hidetitle is {{{hidetitle}}}</includeonly>

Revision as of 14:37, 7 July 2022

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

{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime}}

Which displays as:

File:Slimedonut.png|link=Jelly Donut with Slime|Jelly Donut with Slime - hi hidetitle is {{{hidetitle}}}

or

File:Slimedonut.png|link=Jelly Donut with Slime| - hi hidetitle is 1

or

File:Slimedonut.png|link=Jelly Donut with Slime|Jelly Donut with Slime - hi hidetitle is 0