Template:Template shortcut: Difference between revisions
Jump to navigation
Jump to search
m>Gracenotes server localurl -> fullurl; add {{{pre|}}} for prefix (like subst:) |
m>Patrick avoid Template:Fullurl:Template: showing up in lists of transcluded templates if {{{1}}} etc. is empty |
||
Line 1: | Line 1: | ||
<table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint plainlinks"> | <table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint plainlinks"> | ||
<th id="shortcut" class="noprint" align="center" valign="top"><small>Template shortcut:<!-- | <th id="shortcut" class="noprint" align="center" valign="top"><small>Template shortcut:<!-- | ||
--><br />{{{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}<!-- | --><br />{{{{{pre|}}}[{{fullurl:Template:{{if:{{{1}}}|{{{1|{{PAGENAME}}}|{{{dummy}}}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}<!-- | ||
-->{{#if:{{{2|}}}|<br />{{{{{pre|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]}}}}<!-- | -->{{#if:{{{2|}}}|<br />{{{{{pre|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]}}}}<!-- | ||
-->{{#if:{{{3|}}}|<br />{{{{{pre|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]}}}} | -->{{#if:{{{3|}}}|<br />{{{{{pre|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]}}}} | ||
</small></th> | </small></th> | ||
</table><noinclude>{{clear}}{{template doc}}</noinclude> | </table><noinclude>{{clear}}{{template doc}}</noinclude> |