Template:Template shortcut: Difference between revisions

support 10 shortcuts
(Make non-existent links appear red per protected edit request)
(support 10 shortcuts)
Line 1: Line 1:
<table class="shortcutbox shortcutbox-template plainlinks noprint" style="  
<table class="shortcutbox shortcutbox-template plainlinks noprint" style="
{{#ifeq:{{{float|}}}|left
{{#ifeq:{{{float|}}}|left
| 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;
}}  
}}
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}}:
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">
Line 16: Line 16:
* &#123;&#123;{{{pre5|}}}{{#ifexist: Template:{{{5}}} |[{{fullurl:Template:{{{5}}}|redirect=no}} {{{5}}}] | [[Template:{{{5}}}|{{{5}}}]] }}&#125;&#125;}}<!--
* &#123;&#123;{{{pre5|}}}{{#ifexist: Template:{{{5}}} |[{{fullurl:Template:{{{5}}}|redirect=no}} {{{5}}}] | [[Template:{{{5}}}|{{{5}}}]] }}&#125;&#125;}}<!--
-->{{#if:{{{6|}}}|
-->{{#if:{{{6|}}}|
* &#123;&#123;{{{pre6|}}}{{#ifexist: Template:{{{6}}} |[{{fullurl:Template:{{{6}}}|redirect=no}} {{{6}}}] | [[Template:{{{6}}}|{{{6}}}]] }}&#125;&#125;}}</div></th></tr></table><noinclude>
* &#123;&#123;{{{pre6|}}}{{#ifexist: Template:{{{6}}} |[{{fullurl:Template:{{{6}}}|redirect=no}} {{{6}}}] | [[Template:{{{6}}}|{{{6}}}]]
 
}}&#125;&#125;}}<!--
-->{{#if:{{{7|}}}|
* &#123;&#123;{{{pre7|}}}{{#ifexist: Template:{{{7}}} |[{{fullurl:Template:{{{7}}}|redirect=no}} {{{7}}}] | [[Template:{{{7}}}|{{{7}}}]]
}}&#125;&#125;}}<!--
-->{{#if:{{{8|}}}|
* &#123;&#123;{{{pre8|}}}{{#ifexist: Template:{{{8}}} |[{{fullurl:Template:{{{8}}}|redirect=no}} {{{8}}}] | [[Template:{{{8}}}|{{{8}}}]]
}}&#125;&#125;}}<!--
-->{{#if:{{{9|}}}|
* &#123;&#123;{{{pre9|}}}{{#ifexist: Template:{{{9}}} |[{{fullurl:Template:{{{9}}}|redirect=no}} {{{9}}}] | [[Template:{{{9}}}|{{{9}}}]]
}}&#125;&#125;}}<!--
-->{{#if:{{{10|}}}|
* &#123;&#123;{{{pre10|}}}{{#ifexist: Template:{{{10}}} |[{{fullurl:Template:{{{10}}}|redirect=no}} {{{10}}}] | [[Template:{{{10}}}|{{{10}}}]]
}}&#125;&#125;}}</div></th></tr></table><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>
Anonymous user