Template:Stack: Difference between revisions
Template page
More actions
No edit summary |
Undo revision 452249923 by Great Brightstar (talk) |
||
| Line 1: | Line 1: | ||
<templatestyles src="Stack/styles.css"/><div class="mw-stack stack-container {{#switch:{{{float|right}}}|left=stack-{{#switch:{{{clear|}}}|left|true=clear-}}left|right=stack-{{#switch:{{{clear|}}}|right|true=clear-}}right}}" {{# | <templatestyles src="Template:Stack/styles.css"/><div class="mw-stack stack-container {{#switch: {{{float|right}}} | ||
|left = stack-{{#switch: {{{clear|}}} | |||
|left|true = clear- | |||
}}left | |||
|right = stack-{{#switch: {{{clear|}}} | |||
|right|true = clear- | |||
}}right | |||
}} mobile-float-reset" style="{{#switch: {{{clear|}}} | |||
|left|right|both = clear:{{{clear|}}}; | |||
}}{{{style|{{{css|}}}}}}"><!-- | |||
-->{{#if: {{{1|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | |||
{{{1|}}} | |||
</div> }}<!-- | |||
-->{{#if: {{{2|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | |||
{{{2|}}} | |||
</div> }}<!-- | |||
-->{{#if: {{{3|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | |||
{{{3|}}} | |||
</div> }}<!-- | |||
-->{{#if: {{{4|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | |||
{{{4|}}} | |||
</div> }}<!-- | |||
-->{{#if: {{{5|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | |||
{{{5|}}} | |||
</div> }}<!-- | |||
-->{{#if: {{{6|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | |||
{{{6|}}} | |||
</div> }}<!-- | |||
-->{{#if: {{{7|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | |||
{{{7|}}} | |||
</div> }}<!-- | |||
-->{{#if: {{{8|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | |||
{{{8|}}} | |||
</div> }}<!-- | |||
-->{{#if: {{{9|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | |||
{{{9|}}} | |||
</div> }}<!-- | |||
--></div><!-- | --></div><!-- | ||
--><noinclude>{{Mbox | |||
--><noinclude>{{ | |text=This template can be used to stack images and other floating content without causing problems with spacing and floating. For further documentation, see [[w:Special:Permalink/614776872|Wikipedia]]. | ||
}}</noinclude> | |||