Difference between revisions of "Template:Stack"
Jump to navigation
Jump to search
test>Frietjes (looks like no one is using clear=both, so removing, will remove unusual tracking categories in a bit) |
m (2 revisions imported) |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <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}}"><!-- | |
| − | + | -->{{#if:{{{1|}}}|<div class="stack-item" {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing|1}}}px"}}>{{{1}}}</div> | |
| − | + | }}{{#if:{{{2|}}}|<div class="stack-item" {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing|1}}}px"}}>{{{2}}}</div> | |
| − | + | }}{{#if:{{{3|}}}|<div class="stack-item" {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing|1}}}px"}}>{{{3}}}</div> | |
| − | + | }}{{#if:{{{4|}}}|<div style="overflow: hidden; margin: {{{cellspacing|1}}}px;">{{{4}}}</div> | |
| − | + | }}{{#if:{{{5|}}}|<div class="stack-item" {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing|1}}}px"}}>{{{5}}}</div> | |
| − | + | }}{{#if:{{{6|}}}|<div class="stack-item" {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing|1}}}px"}}>{{{6}}}</div> | |
| − | + | }}{{#if:{{{7|}}}|<div class="stack-item" {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing|1}}}px"}}>{{{7}}}</div> | |
| − | + | }}{{#if:{{{8|}}}|<div class="stack-item" {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing|1}}}px"}}>{{{8}}}</div> | |
| − | + | }}{{#if:{{{9|}}}|<div class="stack-item" {{#if:{{{cellspacing|}}}|style="margin: {{{cellspacing|1}}}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 | |
| − | + | }}<noinclude> | |
| − | + | {{documentation}} | |
| − | + | </noinclude> | |