Template:Image: Difference between revisions

From Another Chance Wiki
Jump to navigation Jump to search
(Formatted page to show documentation and hide raw code)
(Updated template to change max horizontal size)
 
Line 1: Line 1:
<includeonly>[[File:{{{1}}}|{{{2}}}|link=]]
<includeonly>
<div style=max-inline-size: 100%;>[[File:{{{1}}}|{{{2}}}]]</div>
<div style="text-align: center;">
<div style="text-align: center;">
{{{3}}}
{{{3}}}
</div></includeonly>
</div></includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 10:44, 16 June 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, 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
{{Image|MaxineChair.webp|960px|Maxine and Spinach in a chair.}}
MaxineChair.webp

Maxine and Spinach in a chair.