Anonymous user
Template:Template shortcut: Difference between revisions
Copied new code from /sandbox. Major cleanup and some fixes. No real change in appearance.
(allow it to float elsewhere) |
(Copied new code from /sandbox. Major cleanup and some fixes. No real change in appearance.) |
||
Line 1:
<table class="shortcutbox shortcutbox-template plainlinks noprint" style="
{{#ifeq:{{{float|}}}|left
<th class="noprint" align="center" valign="top"><small>Shortcut{{#if:{{{2|}}}|s}}:<!--▼
| float:left; margin: .3em 1em .3em .3em;
--><br />{{{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}<!--▼
| float:right; margin: .3em .3em .3em 1em;
-->{{#if:{{{2|}}}|<br />{{{{{pre2|}}}[{{fullurl:Template:{{#if:{{{2}}}|{{{2}}}|[]}}|redirect=no}} {{{2}}}]}}}}<!--▼
}}
-->{{#if:{{{3|}}}|<br />{{{{{pre3|}}}[{{fullurl:Template:{{#if:{{{3}}}|{{{3}}}|[]}}|redirect=no}} {{{3}}}]}}}}▼
border:1px solid #aaa; background:#fff; padding:3px; text-align:center;">
</small></th>▼
▲<tr><th
▲--><br
▲-->{{#if:{{{2|}}}|<br
▲-->{{#if:{{{3|}}}|<br
</table><noinclude>
{{Documentation}}
</noinclude>
|