Template:Ombox/shortcut: Difference between revisions
Content added Content deleted
m (+documentation) |
(CSS fix (plainlist applies to list elements, not divs, so it wasn't working here)) |
||
Line 1: | Line 1: | ||
<div role="note" class="shortcutbox |
<div role="note" class="shortcutbox 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: |
||
-->[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:<!-- |
-->[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:<!-- |
||
--><ul><!-- |
--><ul class="plainlist"><!-- |
||
-->{{#if:{{{1|}}}|<li>{{nowrap|[[{{{1}}}]]}}</li>}}<!-- |
-->{{#if:{{{1|}}}|<li>{{nowrap|[[{{{1}}}]]}}</li>}}<!-- |
||
-->{{#if:{{{2|}}}|<li>{{nowrap|[[{{{2}}}]]}}</li>}}<!-- |
-->{{#if:{{{2|}}}|<li>{{nowrap|[[{{{2}}}]]}}</li>}}<!-- |