Difference between revisions of "Template:Template shortcut"
Jump to navigation
Jump to search
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|}}} |
− | border:1px solid #aaa; background:#fff; padding:3px; text-align:center;"><tr><th style="border:none; background:transparent;font-size:85%">Shortcut{{#if:{{{2|}}}|s}}: | + | | true = clear:{{{float|right}}}; |
+ | | left|right|both = clear:{{{clear|}}}; | ||
+ | | #default= | ||
+ | }} border:1px solid #aaa; background:#fff; padding:3px; text-align:center;"><tr><th style="border:none; background:transparent;font-size:85%">Shortcut{{#if:{{{2|}}}|s}}: | ||
<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}}}}}]] }}}}<!-- |
Revision as of 22:11, 23 June 2014
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}