Template:Template shortcut: Difference between revisions

m
removed newlines and disabled colon
(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;">
* &#123;&#123;{{{pre|}}}{{#ifexist:Template:{{{1}}} |[{{fullurl:Template:{{{1}}}|redirect=no}} {{{1}}}] |[[Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]}}&#125;&#125;<!--
* &#123;&#123;{{{pre|}}}{{#ifexist:Template:{{{1}}} |[{{fullurl:Template:{{{1}}}|redirect=no}} {{{1}}}] |[[Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]}}&#125;&#125;<!--
  -->{{#if:{{{2|}}} |
  -->{{#if:{{{2|}}} |
* &#123;&#123;{{{pre2|}}}{{#ifexist:Template:{{{2}}} |[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}] |[[Template:{{{2}}}|{{{2}}}]]}}&#125;&#125;<!--
* &#123;&#123;{{{pre2|}}}{{#ifexist:Template:{{{2}}} |[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}] |[[Template:{{{2}}}|{{{2}}}]]}}&#125;&#125;<!--