Template:Template shortcut: Difference between revisions
Content added Content deleted
(Update from sandbox/testcases ("top" parameter per {{TOC left}}, no colon)) |
m (removed newlines and disabled colon) |
||
Line 1: | Line 1: | ||
<table class="shortcutbox shortcutbox-template plainlinks noprint" |
<table class="shortcutbox shortcutbox-template plainlinks noprint" |
||
style="{{#switch:{{{clear|}}} |true=clear:{{{float|right}}}; |left|right|both=clear:{{{clear|}}}; |#default=}}<!-- |
style="{{#switch:{{{clear|}}} |true=clear:{{{float|right}}}; |left|right|both=clear:{{{clear|}}}; |#default=}}<!-- |
||
-->{{#ifeq:{{{float|}}}|left |
-->{{#ifeq:{{{float|}}}|left |float:left;margin:{{{top|0.3em}}} 1.0em 0.3em 0.3em; |float:right;margin:{{{top|0.3em}}} 0.3em 0.3em 1.0em;}}<!-- |
||
| float:left; margin:{{{top|0.3em}}} 1.0em 0.3em 0.3em; |
|||
| float:right; margin:{{{top|0.3em}}} 0.3em 0.3em 1.0em; |
|||
}}<!-- |
|||
-->border:1px solid #aaa;background:#fff;padding:3px;text-align:center;"><!-- |
-->border:1px solid #aaa;background:#fff;padding:3px;text-align:center;"><!-- |
||
--><tr><th style="font-size:85%;border:none;background:transparent;">Shortcut{{#if:{{{2|}}}|s}} |
--><tr><th style="font-size:85%;border:none;background:transparent;"> 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}}}}}]]}}}}<!-- |
||
-->{{#if:{{{2|}}} | |
-->{{#if:{{{2|}}} | |
||
* {{{{{pre2|}}}{{#ifexist:Template:{{{2}}} |[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}] |[[Template:{{{2}}}|{{{2}}}]]}}}}<!-- |
* {{{{{pre2|}}}{{#ifexist:Template:{{{2}}} |[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}] |[[Template:{{{2}}}|{{{2}}}]]}}}}<!-- |