Anonymous user
Template:Template shortcut: Difference between revisions
add optional clear parameter, with syntax that matches template:stack (see talk)
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:
| float:left; margin: .3em 1em .3em .3em;
| float:right; margin: .3em .3em .3em 1em;
}}{{#switch:{{{clear|}}}
| true = clear:{{{float|right}}};
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}}:▼
| 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">
* {{{{{pre|}}}{{#ifexist: Template:{{{1}}} |[{{fullurl:Template:{{{1}}}|redirect=no}} {{{1}}}] | [[Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]] }}}}<!--
|