Template:Stack: Difference between revisions
Jump to navigation
Jump to search
(Categorizing templates.) |
m (Equals protection in template.) |
||
Line 1: | Line 1: | ||
<includeonly><table cellpadding=0 cellspacing={{{cellspacing|1}}} style="{{{style|float:{{{float|right}}}; {{#switch:{{{clear|}}} | true = clear:{{{float|right}}}; | left|right|both = clear:{{{clear|}}}; | #default= }} background: transparent; margin: 0; padding: 0;}}}"><tr> | <includeonly><table cellpadding{{=}}0 cellspacing{{=}}{{{cellspacing|1}}} style{{=}}"{{{style|float:{{{float|right}}}; {{#switch:{{{clear|}}} | true = clear:{{{float|right}}}; | left|right|both = clear:{{{clear|}}}; | #default= }} background: transparent; margin: 0; padding: 0;}}}"><tr> | ||
<td>{{{1|}}}</td> | <td>{{{1|}}}</td> | ||
</tr>{{#if:{{{2|}}} | </tr>{{#if:{{{2|}}} |
Latest revision as of 02:23, 15 February 2013
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.