Template:Template shortcut: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Gracenotes
fix #if statement... should be it
m 1 revision imported
 
(34 intermediate revisions by 22 users not shown)
Line 1: Line 1:
<table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint plainlinks">
<includeonly>{{#invoke:Shortcut|main|template=yes}}</includeonly><noinclude>{{Documentation}}</noinclude>
<th id="shortcut" class="noprint" align="center" valign="top"><small>Template shortcut:<br />&#123;&#123;[{{SERVER}}{{localurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]&#125;&#125;{{#if:{{{2|}}}|<br />&#123;&#123;[{{SERVER}}{{localurl:Template:{{{2}}}|redirect=no}} {{{2}}}]&#125;&#125;}}
{{#if:{{{3|}}}|<br />&#123;&#123;[{{SERVER}}{{localurl:Template:{{{3}}}|redirect=no}} {{{3}}}]&#125;&#125;}}</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>

Latest revision as of 18:23, 30 November 2023