Template:Shortcut: Difference between revisions

Content added Content deleted
prefix>George Orwell III
(more pronounced)
 
(add support for up to 10 shortcuts)
Line 1: Line 1:
<!--
<includeonly>
Putting anchors on page:
<table id="shortcut" class="noprint" style="background:#fff; border-collapse:collapse; border: 1px solid #999; padding:0px; margin: 0 0 .5em 1em; float:right; clear:right;">
--><div style="position: relative; top: -3em;">{{#if:{{{1|}}}|<span id="{{anchorencode:{{{1|}}}}}"></span> }}{{#if:{{{2|}}}|<span id="{{anchorencode:{{{2|}}}}}"></span> }}{{#if:{{{3|}}}|<span id="{{anchorencode:{{{3|}}}}}"></span> }}{{#if:{{{4|}}}|<span id="{{anchorencode:{{{4|}}}}}"></span> }}{{#if:{{{5|}}}|<span id="{{anchorencode:{{{5|}}}}}"></span> }}</div>
<tr>
<th style="font-size:86%; padding:5px; text-align:center;"><span style="letter-spacing:1px;">[[Wikisource:Shortcut|Shortcut]]:&#32;</span><br>{{{1}}}</th>
<table class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"><tr><th style="border: none; background: transparent;" class="plainlist"><!--
Adding the shortcut links:
</tr>
--><small>[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:
</table>
{{#if:{{{1|}}}|<ul><li> [[{{{1}}}]]</li>
</includeonly><noinclude>{{documentation}}</noinclude>
}}{{#if:{{{2|}}}|<li> [[{{{2}}}]]</li>
}}{{#if:{{{3|}}}|<li> [[{{{3}}}]]</li>
}}{{#if:{{{4|}}}|<li> [[{{{4}}}]]</li>
}}{{#if:{{{5|}}}|<li> [[{{{5}}}]]</li>
}}{{#if:{{{6|}}}|<li> [[{{{6}}}]]</li>
}}{{#if:{{{7|}}}|<li> [[{{{7}}}]]</li>
}}{{#if:{{{8|}}}|<li> [[{{{8}}}]]</li>
}}{{#if:{{{9|}}}|<li> [[{{{9}}}]]</li>
}}{{#if:{{{10|}}}|<li> [[{{{10}}}]]</li>
}}{{#if:{{{msg|}}}|<li> {{{msg}}}</li>
}}</ul></small></th></tr></table><!--
Reporting if the first parameter is not a valid non-bracketed shortcut name:
-->{{#if:{{{1|}}}
| {{#ifexist:{{{1|}}}
|
| [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
}}
}}<noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>