Difference between revisions of "Template:Stack"

From blackwiki
Jump to navigation Jump to search
test>Frietjes
(optional margin)
test>Frietjes
(optional margin)
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:{{{margin|}}}|1|true|y|yes=margin-}}{{#switch:{{{clear|}}}|right|true=clear-}}right}} mobile-float-reset"><!--
+
<templatestyles src="Stack/styles.css"/><div class="mw-stack stack-container {{#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}} mobile-float-reset"><!--
 
-->{{#if:{{{1|}}}|<div style="overflow: hidden; margin: {{{cellspacing|1}}}px;">{{{1}}}</div>
 
-->{{#if:{{{1|}}}|<div style="overflow: hidden; margin: {{{cellspacing|1}}}px;">{{{1}}}</div>
 
}}{{#if:{{{2|}}}|<div style="overflow: hidden; margin: {{{cellspacing|1}}}px;">{{{2}}}</div>
 
}}{{#if:{{{2|}}}|<div style="overflow: hidden; margin: {{{cellspacing|1}}}px;">{{{2}}}</div>

Revision as of 17:10, 14 July 2020

Template documentation[create]