Template talk:Imagestack

From Wikipedia, the free encyclopedia

Stacks images without causing problems with spacing and floating.

{{imagestack| images|float=left/right}}

images is simply a string of wiki code for many images. float is optional and defaults to right.

Contents

[edit] Example

[edit] Lipsum

Example
Example
Example2
Example2
Example3
Example3
{{imagestack|
[[Image:Example.png|thumb|Example]]
[[Image:Example.png|thumb|Example2]]
[[Image:Example.png|thumb|Example3]]
}}

The above code is placed directly under the main heading ("Example").

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

[edit] Lorem

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

[edit] Ipsum

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

[edit] Discussion

[edit] A very good template

I'm surpirsed this idea hasn't been used before. This is a great template that will solve image spacing which has become a major problem. We should publicise this throughout wikipedia. Aflakim is a genius for thinking of this one. Tobyk777 03:02, 30 August 2006 (UTC)

Hey thanks, although I have a funny feeling something like this already exists. Somewhere. I just couldn't find it. --Alfakim-- talk 19:32, 30 August 2006 (UTC)