Difference between revisions of "Template:Stack"
Jump to navigation
Jump to search
37thchamber (talk | contribs) m (1 revision imported) |
(re-add mw-stack 2 years down the road, used by MobileFrontend to find infoboxes inside stacks) |
||
Line 1: | Line 1: | ||
− | <div class="mw-stack | + | <templatestyles src="Stack/styles.css"/><div class="stack mw-stack {{#switch:{{{float|right}}}|left=stack-{{#switch:{{{margin|}}}|1|true|y|yes=margin-}}{{#switch:{{{clear|}}}|left|true=clear-}}left|right=stack-{{#switch:{{{margin|}}}|1|true|y|yes=margin-}}{{#switch:{{{clear|}}}|right|true=clear-}}right}}"><!-- |
− | + | -->{{#if:{{{1|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{1}}}</div>}}<!-- | |
− | + | -->{{#if:{{{2|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{2}}}</div>}}<!-- | |
− | + | -->{{#if:{{{3|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{3}}}</div>}}<!-- | |
− | + | -->{{#if:{{{4|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{4}}}</div>}}<!-- | |
− | + | -->{{#if:{{{5|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{5}}}</div>}}<!-- | |
− | + | -->{{#if:{{{6|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{6}}}</div>}}<!-- | |
− | + | -->{{#if:{{{7|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{7}}}</div>}}<!-- | |
− | + | -->{{#if:{{{8|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{8}}}</div>}}<!-- | |
− | + | -->{{#if:{{{9|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{9}}}</div>}}<!-- | |
− | + | --></div>{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using stack with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Stack]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | cellspacing | clear | float | margin | |
− | + | }}<noinclude> | |
− | + | {{documentation}} | |
− | + | </noinclude> | |
− | |||
− | --></div> | ||
− | |||
− |