Difference between revisions of "Template:Stack"

Jump to navigation Jump to search
9 bytes added ,  12:43, 7 November 2023
m
1 revision imported
en>Izno
(ditch the extra classes, one of which implies this is a mediawiki item; css change shortly)
 
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<templatestyles src="Stack/styles.css"/><div class="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/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:{{{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>}}<!--

Navigation menu