Template:Stack

From FlightGear wiki
Revision as of 10:42, 4 July 2012 by Gijs (Talk | contribs) (Created page with "<table cellpadding=0 cellspacing={{{cellspacing|1}}} style="{{{style|float:{{{float|right}}}; {{#switch:{{{clear|}}} | true = clear:{{{float|right}}}; | left|right|both = clea...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The following template description is not displayed when the template is inserted in an article.

This template can be used to stack images and other floating content such as infobox templates without causing problems with spacing and floating. Enter a string of images/templates as the first parameter to have them stack without generating floating errors or spacing errors. You can stack many objects from the top of a section and not force further subsections to space out.

Usage

{{stack|<objects>}}
{{stack begin}}
 <object>
 {{stack mid}}
 <object>
 ...
 {{stack end}}

More examples on Wikipedia.