Template:TokenPropertyGalleryItem: Difference between revisions
Jump to navigation
Jump to search
(Created page with "File:{{{filename}}}|link={{{displayname}}}|[[{{{displayname}}}]]") |
No edit summary |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
File:{{{filename}}}|link={{{displayname}}}|[[{{{displayname}}}]] | <noinclude> | ||
This is the 'TokenPropertyGallery' template; it should be called in the following format: | |||
<pre> | |||
{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime}} | |||
</pre> | |||
Which displays as: | |||
{{TokenPropertyGalleryItem|filename=Slimedonut.png|displayname=Jelly Donut with Slime}} | |||
or | |||
{{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