Template:ImageSpoiler: Difference between revisions

From Another Chance Wiki
Jump to navigation Jump to search
(Created template)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="spoiler-image">
<includeonly>
<div class="spoiler-image";>
[[File:{{{1}}}|{{{2}}}|link=]]
[[File:{{{1}}}|{{{2}}}|link=]]
</div>
</div>
Line 6: Line 7:
(Click image to reveal)
(Click image to reveal)
</div>
</div>
</includeonly>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 18:23, 22 July 2026


Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

This template displays images in a specific and standard format that can be clicked to toggle between being blurred for spoilers or not, primarily for use in Game Screenshot categories in galleries.

Template parameters

ParameterDescriptionTypeStatus
Image1

The name of the image being displayed, including extension (.png, .webp, etc.)

Stringrequired
Size2

Sets size of image in pixels (must include px after number)

Stringrequired
Caption3

Caption shown underneath the image

Stringoptional
{{ImageSpoiler|MaxineChair.webp|960px|Maxine and Spinach in a chair.}}

MaxineChair.webp

Maxine and Spinach in a chair.
(Click image to reveal)