Template:Ombox/shortcut: Difference between revisions

Content added Content deleted
m (restore border)
(use div instead of table, requested on talk page)
Line 1: Line 1:
<table class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: 0; padding: 1px; text-align: center; line-height: 1.1em"><tr><th style="border: none; background: transparent;"><!--
<div role="note" class="shortcutbox plainlist noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: 0; padding: 0.3em; text-align: center; line-height: 1.4em; font-weight: bold; font-size: smaller;"><!--
Putting anchors on page:
Putting anchors on page:
-->{{#if:{{{1|}}}|<span id="{{{1|}}}"></span> }}{{#if:{{{2|}}}|<span id="{{{2|}}}"></span> }}{{#if:{{{3|}}}|<span id="{{{3|}}}"></span> }}{{#if:{{{4|}}}|<span id="{{{4|}}}"></span> }}{{#if:{{{5|}}}|<span id="{{{5|}}}"></span> }}<!--
-->{{#if:{{{1|}}}|<span id="{{{1|}}}"></span> }}{{#if:{{{2|}}}|<span id="{{{2|}}}"></span> }}{{#if:{{{3|}}}|<span id="{{{3|}}}"></span> }}{{#if:{{{4|}}}|<span id="{{{4|}}}"></span> }}{{#if:{{{5|}}}|<span id="{{{5|}}}"></span> }}<!--
Adding the shortcut links:
Adding the shortcut links:
--><small>[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]: {{#if:{{{1|}}}|<br> [[{{{1}}}]] }}{{#if:{{{2|}}}|<br> [[{{{2}}}]] }}{{#if:{{{3|}}}|<br> [[{{{3}}}]] }}{{#if:{{{4|}}}|<br> [[{{{4}}}]] }}{{#if:{{{5|}}}|<br> [[{{{5}}}]] }}</small></table><!--
-->[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:<!--
--><ul><!--
-->{{#if:{{{1|}}}|<li>[[{{{1}}}]]</li>}}<!--
-->{{#if:{{{2|}}}|<li>[[{{{2}}}]]</li>}}<!--
-->{{#if:{{{3|}}}|<li>[[{{{3}}}]]</li>}}<!--
-->{{#if:{{{4|}}}|<li>[[{{{4}}}]]</li>}}<!--
-->{{#if:{{{5|}}}|<li>[[{{{5}}}]]</li>}}<!--
--></ul>
</div><!--
Reporting if the first parameter is not a valid non-bracketed shortcut name:
Reporting if the first parameter is not a valid non-bracketed shortcut name:
-->{{#if:{{{1|}}}
-->{{#if:{{{1|}}}
Line 10: Line 18:
| [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
| [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
}}
}}
}}<noinclude>{{documentation}}</noinclude>
}}<noinclude>
{{documentation}}
</noinclude>