Wiktenauer logo.png

Template:Imagestack

From Wiktenauer
Revision as of 22:42, 22 October 2012 by Michael Chidester (talk | contribs) (Created page with "<includeonly><div class="ImageStack_JS_required"> {{Template:Warning|{{LangSwitch |de=Die Vorlage Imagestack benötigt zusätzlichen Javascript-Code. S...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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⧽