Wiktenauer logo.png

Template:Imagestack

From Wiktenauer
Jump to navigation Jump to search
[edit] [history] [purge] Documentation icon Template documentation

Function of the template

The template Imagestack provides functionality to scroll through a stack of images such as computertomography- or MRI- series. The scrolling can be done by using the mousewheel or by dragging with the left mouse button. The javascript code for this can be found in MediaWiki:Gadget-ImageStack.js which will be automatically loaded in the MediaWiki:Common.js if needed.

Examples

Usage

{{Imagestack
|width=100
|title=left with background and loop
|align=left
|background=#b8b878
|loop=yes
|Image:Braunes-Fett-PET-00.jpg|00
|Image:Braunes-Fett-PET-01.jpg|01
|Image:Braunes-Fett-PET-02.jpg|02
|Image:Braunes-Fett-PET-03.jpg|03
}}
Lorem ipsum dolor...
left with background and loop
00
01
02
03

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.

{{Imagestack
|title=Only title -> width=200
|Image:Braunes-Fett-PET-00.jpg|00
|Image:Braunes-Fett-PET-01.jpg|01
|Image:Braunes-Fett-PET-02.jpg|02
|Image:Braunes-Fett-PET-03.jpg|03
}}
Lorem ipsum...
Only title -> width=200
00
01
02
03

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.

Categories for stack images

If there is an own category for the images of one stack/series it is recommended to use the Template:Imagestackcat in the first line of the description page like this:

{{Imagestackcat}}
{{Imagestack
...

⧼Seealso⧽