Difference between revisions of "Template:Template shortcut"
Jump to navigation
Jump to search
(self-rv for now) |
(avoid Template:Fullurl:Template: showing up in lists of transcluded templates if {{{2}}} and/or {{{3}}} are empty) |
||
Line 2: | Line 2: | ||
<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:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}<!-- | ||
− | -->{{#if:{{{2|}}}|<br />{{{{{pre|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]}}}}<!-- | + | -->{{#if:{{{2|}}}|<br />{{{{{pre|}}}[{{fullurl:Template:{{#if:{{{2}}}|{{{2}}}|{{{dummy}}}}}|redirect=no}} {{{2}}}]}}}}<!-- |
− | -->{{#if:{{{3|}}}|<br />{{{{{pre|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]}}}} | + | -->{{#if:{{{3|}}}|<br />{{{{{pre|}}}[{{fullurl:Template:{{#if:{{{3}}}|{{{3}}}|{{{dummy}}}}}|redirect=no}} {{{3}}}]}}}} |
</small></th> | </small></th> | ||
</table><noinclude>{{clear}}{{template doc}}</noinclude> | </table><noinclude>{{clear}}{{template doc}}</noinclude> |