Template:Template shortcut: Difference between revisions

From TestWiki
Content added Content deleted
(Copied new code from /sandbox. Major cleanup and some fixes. No real change in appearance.)
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.)
 
(22 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Shortcut|main|template=yes}}</includeonly><noinclude>{{Documentation}}</noinclude>
<table class="shortcutbox shortcutbox-template plainlinks noprint" style="
{{#ifeq:{{{float|}}}|left
| float:left; margin: .3em 1em .3em .3em;
| float:right; margin: .3em .3em .3em 1em;
}}
border:1px solid #aaa; background:#fff; padding:3px; text-align:center;">
<tr><th style="border:none; background:transparent;"><small>Shortcut{{#if:{{{2|}}}|s}}:<!--
--><br> &#123;&#123;{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]&#125;&#125;<!--
-->{{#if:{{{2|}}}|<br> &#123;&#123;{{{pre2|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]&#125;&#125;}}<!--
-->{{#if:{{{3|}}}|<br> &#123;&#123;{{{pre3|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]&#125;&#125;}}
</small>
</table><noinclude>

{{Documentation}}
</noinclude>

Latest revision as of 21:55, 21 March 2022