Template:Template shortcut: Difference between revisions
Content added Content deleted
(fix #if statement... should be it) |
(«56 words changed») |
||
Line 2: | Line 2: | ||
<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}}}]}}}} |
<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>{{template doc}}</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 |
|||
:<nowiki>{{template shortcut|uw-v1}}</nowiki> |
|||
{{template shortcut|uw-v1}} |
|||
or |
|||
:<nowiki>{{template shortcut|uw-v1|uw-vand1}}</nowiki> |
|||
{{template shortcut|uw-v1|uw-vand1}} |
|||
or |
|||
:<nowiki>{{template shortcut|uw-v1|uw-vand1|uw-vandal1}}</nowiki> |
|||
{{template shortcut|uw-v1|uw-vand1|uw-vandal1}} |
|||
on that page.</noinclude> |