Template:TokenPropertyGalleryItem: Difference between revisions

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


{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime|hidetitle=1}}
{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime|hidetitle=1}}
or
{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime|hidetitle=0}}




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

Revision as of 14:26, 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 SlimeJelly Donut with Slime

or

File:Slimedonut.png|link=Jelly Donut with Slime

or

File:Slimedonut.png|link=Jelly Donut with SlimeJelly Donut with Slime