Difference between revisions of "Template:Template shortcut"
Jump to navigation
Jump to search
(there may not be monotony, but I'm seeing it.) |
(fix #if statement... should be it) |
||
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:<br /> | + | <th id="shortcut" class="noprint" align="center" valign="top"><small>Template shortcut:<br />{{[{{SERVER}}{{localurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}{{#if:{{{2|}}}|<br />{{[{{SERVER}}{{localurl:Template:{{{2}}}|redirect=no}} {{{2}}}]}}}} |
{{#if:{{{3|}}}|<br />{{[{{SERVER}}{{localurl:Template:{{{3}}}|redirect=no}} {{{3}}}]}}}}</small></th> | {{#if:{{{3|}}}|<br />{{[{{SERVER}}{{localurl:Template:{{{3}}}|redirect=no}} {{{3}}}]}}}}</small></th> | ||
</table><noinclude> | </table><noinclude> |
Revision as of 22:28, 21 February 2007
This template provides the name of shortcut that template, specified by a parameter. Copied and pasted (with adjustments) from {{shortcut}}. If you want to indicate that {{uw-vandalism1}}'s shortcuts are {{uw-v1}}, {{uw-vandal1}}, and {{uw-vand1}}, you could do
- {{template shortcut|uw-v1}}
or
- {{template shortcut|uw-v1|uw-vand1}}
or
- {{template shortcut|uw-v1|uw-vand1|uw-vandal1}}
on that page.