Template:ImageStackPopup/doc

Usage
This 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  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  on it.

e.g.

{	"params": { "loop": { "description": "Should slider loop around. Set either \"yes\" or have no value", "example": "yes", "type": "boolean" },		"start": { "description": "Which image to start on", "example": "4", "type": "number", "default": "1", "autovalue": "1", "suggested": true },		"width": { "description": "Override image width from list page", "type": "number" },		"height": { "description": "Override height from list page", "type": "number" },		"list": { "label": "Image list page", "description": "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 on the page MyPage which is used as the list of images", "example": "MyPage#myGallery", "type": "string", "required": true },		"noregisterimages": { "description": "Disable translcuding the list page. This will cause this page not to be listed on the what links here for the images used.", "type": "boolean" },		"caption": { "description": "Caption to show in the pop-up below the image. Can include any wikitext.", "type": "content", "suggested": true },		"title": { "label": "Popup title", "description": "Title of popup. Can only be plain text. Wikitext not supported.", "type": "string", "suggested": true },		"file": { "description": "The wikitext to include the image shown on the page", "example": "", "type": "content", "required": true, "suggested": true }	},	"description": "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.", "format": "block" }