Difference between revisions of "Template:Stack"

From blackwiki
Jump to navigation Jump to search
test>Frietjes
(temporarily adding |css= to allow for changes to the existing |style= parameter)
test>Frietjes
(unhooking the style parameter from the other parameters to allow float and clear to eventually be moved into Template:Stack/styles.css any that need to be inspected will show up in Category:Pages using stack with a style parameter or Category:Pages using stack with a blank style parameter)
Line 1: Line 1:
 
{{#ifeq:{{{style|a}}}|{{{style|b}}}|{{#if:{{{style|}}}|[[Category:Pages using stack with a style parameter]]|[[Category:Pages using stack with a blank style parameter]]}}|}}<div class="mw-stack mobile-float-reset"
 
{{#ifeq:{{{style|a}}}|{{{style|b}}}|{{#if:{{{style|}}}|[[Category:Pages using stack with a style parameter]]|[[Category:Pages using stack with a blank style parameter]]}}|}}<div class="mw-stack mobile-float-reset"
     style="box-sizing: border-box; {{{style|{{#switch:{{{clear|}}}
+
     style="box-sizing: border-box; {{#switch:{{{clear|}}}
 
                       | true = clear:{{{float|right}}};
 
                       | true = clear:{{{float|right}}};
 
                       | left|right|both = clear:{{{clear|}}};
 
                       | left|right|both = clear:{{{clear|}}};
 
                       | #default=
 
                       | #default=
                     }} float:{{{float|right}}};}}}{{{css|}}}"><!--
+
                     }} float:{{{float|right}}};{{{style|{{{css|}}}}}}"><!--
 
   -->{{#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 13:33, 27 November 2018

Template documentation[create]