Template:TokenPropertyGalleryItem: Difference between revisions

From wizzypedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 13: Line 13:
{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime|hidetitle=1}}
{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime|hidetitle=1}}


or


</noinclude><includeonly>File:{{{filename}}}|link={{{displayname}}}|{{#if:{{hidetitle|}}||[[{{{displayname}}}]]}}</includeonly>
{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime|hidetitle=0}}
 
 
</noinclude><includeonly>File:{{{filename}}}|link={{{displayname}}}|{{#ifeq:{{{hidetitle|0}}}|1||[[{{{displayname}}}]]}}</includeonly>

Latest revision as of 14:38, 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

or

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

or

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