Difference between revisions of "Template:Stack"
Jump to navigation
Jump to search
test>Frietjes |
test>Frietjes (add some templatestyles) |
||
| 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]]}}|}}{{#switch:{{{float|right}}}|left|right=|#default=[[Category:Pages using stack with an unusual float value]]}}{{#switch:{{{clear|}}}|=|true|false|left|right|both=|#default=[[Category:Pages using stack with an unusual clear value]]}}{{#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 | style }}<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]]}}|}}{{#switch:{{{float|right}}}|left|right=|#default=[[Category:Pages using stack with an unusual float value]]}}{{#switch:{{{clear|}}}|=|true|false|left|right|both=|#default=[[Category:Pages using stack with an unusual clear value]]}}{{#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 | style }}<templatestyles src="Stack/styles.css"/><div class="mw-stack stack-container {{#switch:{{{float|right}}}|left=stack-left|right=stack-right}} mobile-float-reset" |
| − | style=" | + | style="{{#switch:{{{clear|}}} |
| true = clear:{{{float|right}}}; | | true = clear:{{{float|right}}}; | ||
| left|right|both = clear:{{{clear|}}}; | | left|right|both = clear:{{{clear|}}}; | ||
| #default= | | #default= | ||
| − | }} | + | }}{{{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>}}<!-- | ||