Template:Imageswitch/doc

From Celeste Wiki
Jump to navigation Jump to search

Template used to add images switchable upon the user clicking a button (button and images auto-created by the template). There can only be one such template on the page. Please ensure that the images' width and height are the same, or use file options.

Template parameters

ParameterDescriptionTypeStatus
Initial file name1 initial

Name of file shown upon first page load.

Example
Snowball.png
Filerequired
New file name2

Name of file which shown upon the user clicking the button.

Example
Infinite-iq.jpg
Filerequired
Button texttext

Text of the button (paragraph) to switch images. Upon clicking on the container element the images will switch.

Default
Switch image
Stringsuggested
File optionsoptions

Options of images. Start with a pipe (|). The settings will apply to both images.

Example
|200px|thumb|link=
Unbalanced wikitextoptional