Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 See also  














Template:ImageStackPopup







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


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 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]]
}}
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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
looploop

Should slider loop around. Set either "yes" or have no value

Example
yes
Booleanoptional
startstart

Which image to start on

Default
1
Example
4
Auto value
1
Numbersuggested
widthwidth

Override image width from list page

Numberoptional
heightheight

Override height from list page

Numberoptional
Image list pagelist

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

Example
MyPage#myGallery
Stringrequired
noregisterimagesnoregisterimages

Disable translcuding the list page. This will cause this page not to be listed on the what links here for the images used.

Booleanoptional
captioncaption

Caption to show in the pop-up below the image. Can include any wikitext.

Contentsuggested
Popup titletitle

Title of popup. Can only be plain text. Wikitext not supported.

Stringsuggested
filefile

The wikitext to include the image shown on the page

Example
[[File:Example.png|thumb|100px|caption text]]
Contentrequired

See also

[edit]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:ImageStackPopup&oldid=1231697468"

Hidden categories: 
Uncategorized pages
All uncategorized pages
 



This page was last edited on 29 June 2024, at 19:10 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki