Template:TokenPropertyGalleryItem: Difference between revisions

From wizzypedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 9: Line 9:
{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime}}
{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime}}


<pre>OLD
or
[[File:{{{filename}}}|none|frame|link={{{displayname}}}|[[{{{displayname}}}]]]]
</pre>


</noinclude><includeonly>File:{{{filename}}}|link={{{displayname}}}|[[{{{displayname}}}]]</includeonly>
{{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|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