Template:Stack: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Stack template from Wikipedia.
 
m Equals protection in template.
 
(One intermediate revision by the same user not shown)
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|}}}
Line 19: Line 19:
}}</table></includeonly><noinclude>
}}</table></includeonly><noinclude>
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.
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.
[[Category:Information Box Templates‎]]
</noinclude>
</noinclude>

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.