Template:Template shortcut: Difference between revisions

m
44 revisions imported: Hop aboard the import train. These templates needed to be added, and the proper crediting goes to Wikipedia for the usage of these templates.
(add 3rd parameter)
m (44 revisions imported: Hop aboard the import train. These templates needed to be added, and the proper crediting goes to Wikipedia for the usage of these templates.)
 
(40 intermediate revisions by 21 users not shown)
Line 1:
<includeonly>{{#invoke:Shortcut|main|template=yes}}</includeonly><noinclude>{{Documentation}}</noinclude>
<table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint">
<th id="shortcut" class="noprint" align="center" valign="top"><small>Template shortcut:<br />{{#if:{{{1|}}}|{{tl|{{{1}}}}}|{{tl|{{lcfirst:{{PAGENAME}}}}}}}} {{#if:{{{2|}}}|<br />{{tl|{{{2}}}}}}}
{{#if:{{{3|}}}|<br />{{tl|{{{3}}}}}}}</small></th>
</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
:<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>