Jump to content

Template:Stack and Template:Stack/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
re-add mw-stack 2 years down the road, used by MobileFrontend to find infoboxes inside stacks
 
No edit summary
 
Line 1: Line 1:
<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}}"><!--
<templatestyles src="Stack/sandbox/styles.css"/><div class="stack-sb 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:{{{1|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{1}}}</div>}}<!--
-->{{#if:{{{2|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{2}}}</div>}}<!--
-->{{#if:{{{2|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{2}}}</div>}}<!--
Line 10: Line 10:
-->{{#if:{{{9|}}}|<div {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing}}}px"}}>{{{9}}}</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
--></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>
}}<noinclude>{{documentation}}</noinclude>
{{documentation}}
</noinclude>