×
Create a new article
Write your page title here:
We currently have 3,035 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,035Articles
< Template:Thumb
Revision as of 11:14, 30 July 2023 by ZASNK (talk | contribs) (create doc for template:thumb)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Mimics the function of image thumbs, but allows images to be enlarged.

Syntax

{{thumb|ext.png|width|alignment|caption|alttext}}

or

{{thumb|File=ext.png|width=?|align=?|caption=?|alt=?}}

Usage

The only real use of the template is to allow thumbs to present enlarged images, which Mediawiki normally does not allow. Otherwise, this template acts almost exactly as normal images with mode set to "thumb."

Parameters

Template parameters

ParameterDescriptionTypeStatus
File1 File

The image.

Example
Example.png
Filerequired
Image Width2 width size

The wanted width of the image in pixels.

Default
100% of page width
Example
400
Numberoptional
Alignment3 align

The alignment of the image on the page.

Suggested values
left center right
Default
inline
Lineoptional
Thumb Caption4 caption

A caption for the image thumb.

Example
The location of the [[Yume Nikki:Frog|Frog]] in the woods.
Contentoptional
Alt Text5 alt

Text that is read by screen readers, and appears when hovering over the image.

Example
A picture of the Frog NPC in Dense Woods B.
Stringoptional

Sample

The following input:

{{thumb|cagedfairy.png|300|right|Example usage.|Hey, listen!}}

Produces:

Hey, listen!
Enlarge
Example usage.