Difference between revisions of "Template:Template shortcut"
Jump to navigation
Jump to search
imported>Gracenotes (add 3rd parameter) |
imported>Gracenotes (redirect = no. No point in clicking on a link, only to be redirected back to the same page!) |
||
Line 1: | Line 1: | ||
− | <table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint"> | + | <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 />{{#if:{{{1|}}}|{{tl|{{{1}}}}}|{{ | + | <th id="shortcut" class="noprint" align="center" valign="top"><small>Template shortcut:<br />{{#if:{{{1|}}}|{{tl|{{{1}}}}}|{{[{{SERVER}}{{localurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}}}{{#if:{{{2|}}}|<br />{{[{{SERVER}}{{localurl:Template:{{{2}}}|redirect=no}} {{{1}}}]}}}} |
− | {{#if:{{{3|}}}|<br />{{ | + | {{#if:{{{3|}}}|<br />{{[{{SERVER}}{{localurl:Template:{{{3}}}|redirect=no}} {{{1}}}]}}}}</small></th> |
</table><noinclude> | </table><noinclude> | ||
This template provides the name of shortcut that template, specified by a parameter. Copied and pasted (with adjustments) from {{tl|shortcut}}. If you want to indicate that {{tl|uw-vandalism1}}'s shortcuts are {{tl|uw-v1}}, {{tl|uw-vandal1}}, and {{tl|uw-vand1}}, you could do | This template provides the name of shortcut that template, specified by a parameter. Copied and pasted (with adjustments) from {{tl|shortcut}}. If you want to indicate that {{tl|uw-vandalism1}}'s shortcuts are {{tl|uw-v1}}, {{tl|uw-vandal1}}, and {{tl|uw-vand1}}, you could do |
Revision as of 23:27, 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.