Usage
editThis template requires the ImageStackPopup gadget.
Used to generate an image with a play button. When you click it, it shows a popup with images in a slider viewer, suitable for looking at series of medical data.
The list
parameter references a page with a fragment. E.g. Template:ImageStackPopup/list#medical, will use the image list with the id "medical" from the page Template:ImageStackPopup/list as the list of images. Keep in mind that all images should have the same size (and especially same aspect ratio). Generally the list page would have code like <gallery widths=700 height=700 id="medical">File:first.png...</gallery>
on it.
e.g.
{{ImageStackPopup |start = 3 |list = Template:ImageStackPopup/list#medical |caption = This is my caption |title = Window Title |file = [[File:Example.png|link=|thumb|Try clicking play]] }}
Show an image with a play button that pops up a dialog showing more images in a viewer with a slider that is suitable for medical scans.
Parameter | Description | Type | Status | |
---|---|---|---|---|
loop | loop | Should slider loop around. Set either "yes" or have no value
| Boolean | optional |
start | start | Which image to start on
| Number | suggested |
width | width | Override image width from list page | Number | optional |
height | height | Override height from list page | Number | optional |
Image list page | list | A page name and fragment to load the image list from. For example, if you put MyPage#myGallery, then it is assumed there is a <gallery id="myGallery">...</gallery> on the page MyPage which is used as the list of images
| String | required |
noregisterimages | noregisterimages | Disable translcuding the list page. This will cause this page not to be listed on the what links here for the images used. | Boolean | optional |
caption | caption | Caption to show in the pop-up below the image. Can include any wikitext. | Content | suggested |
Popup title | title | Title of popup. Can only be plain text. Wikitext not supported. | String | suggested |
file | file | The wikitext to include the image shown on the page
| Content | required |