Template:Stack: Difference between revisions
Template page
More actions
extra spacing fixed; more logical indentation of wikicode |
parameters 1/2/... can be tables: we need newlines after the leading div |
||
| Line 9: | Line 9: | ||
|left|right|both = clear:{{{clear|}}}; | |left|right|both = clear:{{{clear|}}}; | ||
}}{{{style|{{{css|}}}}}}"><!-- | }}{{{style|{{{css|}}}}}}"><!-- | ||
-->{{#if: {{{1|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}>{{{1|}}}</div> }}<!-- | -->{{#if: {{{1|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | ||
-->{{#if: {{{2|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}>{{{2|}}}</div> }}<!-- | {{{1|}}} | ||
-->{{#if: {{{3|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}>{{{3|}}}</div> }}<!-- | </div> }}<!-- | ||
-->{{#if: {{{4|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}>{{{4|}}}</div> }}<!-- | -->{{#if: {{{2|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | ||
-->{{#if: {{{5|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}>{{{5|}}}</div> }}<!-- | {{{2|}}} | ||
-->{{#if: {{{6|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}>{{{6|}}}</div> }}<!-- | </div> }}<!-- | ||
-->{{#if: {{{7|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}>{{{7|}}}</div> }}<!-- | -->{{#if: {{{3|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}> | ||
-->{{#if: {{{8|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}>{{{8|}}}</div> }}<!-- | {{{3|}}} | ||
-->{{#if: {{{9|}}} | <div class="stack-object" {{#if: {{{cellspacing|}}} | style="margin:{{{cellspacing|}}}px 0" }}>{{{9|}}}</div> }}<!-- | </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>{{Mbox | ||
|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]]. | |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> | }}</noinclude> | ||