Difference between revisions of "Template:Template shortcut"

From DMARC Wiki
Jump to navigation Jump to search
(sync from sandbox, per request at Template talk:Template shortcut#Plainlist)
(Make non-existent links appear red per protected edit request)
Line 6: Line 6:
 
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">
* &#123;&#123;{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{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|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]&#125;&#125;}}<!--
+
* &#123;&#123;{{{pre2|}}}{{#ifexist: Template:{{{2}}} |[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}] | [[Template:{{{2}}}|{{{2}}}]] }}&#125;&#125;}}<!--
 
-->{{#if:{{{3|}}}|
 
-->{{#if:{{{3|}}}|
* &#123;&#123;{{{pre3|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]&#125;&#125;}}<!--
+
* &#123;&#123;{{{pre3|}}}{{#ifexist: Template:{{{3}}} |[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}] | [[Template:{{{3}}}|{{{3}}}]] }}&#125;&#125;}}<!--
 
-->{{#if:{{{4|}}}|
 
-->{{#if:{{{4|}}}|
* &#123;&#123;{{{pre4|}}}[{{fullurl:Template:{{{4}}}|redirect=no}} {{{4}}}]&#125;&#125;}}<!--
+
* &#123;&#123;{{{pre4|}}}{{#ifexist: Template:{{{4}}} |[{{fullurl:Template:{{{4}}}|redirect=no}} {{{4}}}] | [[Template:{{{4}}}|{{{4}}}]] }}&#125;&#125;}}<!--
 
-->{{#if:{{{5|}}}|
 
-->{{#if:{{{5|}}}|
* &#123;&#123;{{{pre5|}}}[{{fullurl:Template:{{{5}}}|redirect=no}} {{{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|}}}[{{fullurl:Template:{{{6}}}|redirect=no}} {{{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;}}</div></th></tr></table><noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 13:47, 2 November 2012

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}