Template:Imageswitch/doc
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Initial file name | 1 initial | Name of file shown upon first page load.
| File | required |
New file name | 2 | Name of file which shown upon the user clicking the button.
| File | required |
Button text | text | Text of the button (paragraph) to switch images. Upon clicking on the container element the images will switch.
| String | suggested |
File options | options | Options of images. Start with a pipe (|). The settings will apply to both images.
| Unbalanced wikitext | optional |