Template:Template shortcut: Difference between revisions
Content added Content deleted
m (Changed protection level of Template:Template shortcut: Highly visible template: reduce protection ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(add optional clear parameter, with syntax that matches template:stack (see talk)) |
||
Line 3: | Line 3: | ||
| float:left; margin: .3em 1em .3em .3em; |
| float:left; margin: .3em 1em .3em .3em; |
||
| float:right; margin: .3em .3em .3em 1em; |
| float:right; margin: .3em .3em .3em 1em; |
||
}}{{#switch:{{{clear|}}} |
|||
}} |
|||
| true = clear:{{{float|right}}}; |
|||
⚫ | |||
| left|right|both = clear:{{{clear|}}}; |
|||
| #default= |
|||
⚫ | |||
<div class="plainlist" style="font-size:120%;font-family:monospace"> |
<div class="plainlist" style="font-size:120%;font-family:monospace"> |
||
* {{{{{pre|}}}{{#ifexist: Template:{{{1}}} |[{{fullurl:Template:{{{1}}}|redirect=no}} {{{1}}}] | [[Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]] }}}}<!-- |
* {{{{{pre|}}}{{#ifexist: Template:{{{1}}} |[{{fullurl:Template:{{{1}}}|redirect=no}} {{{1}}}] | [[Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]] }}}}<!-- |