Template:Ombox/shortcut: Difference between revisions

Content added Content deleted
(CSS fix (plainlist applies to list elements, not divs, so it wasn't working here))
(Undid revision 762889452 by SMcCandlish (talk) plainlist applies to the wrapper, so we can use just * for the ul)
Line 1: Line 1:
<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;"><!--
<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:
-->[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:<!--
-->[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:<!--
-->{{#if:{{{1|}}}|
--><ul class="plainlist"><!--
-->{{#if:{{{1|}}}|<li>{{nowrap|[[{{{1}}}]]}}</li>}}<!--
* {{nowrap|[[{{{1}}}]]}}
-->{{#if:{{{2|}}}|<li>{{nowrap|[[{{{2}}}]]}}</li>}}<!--
}}{{#if:{{{2|}}}|
-->{{#if:{{{3|}}}|<li>{{nowrap|[[{{{3}}}]]}}</li>}}<!--
* {{nowrap|[[{{{2}}}]]}}
-->{{#if:{{{4|}}}|<li>{{nowrap|[[{{{4}}}]]}}</li>}}<!--
}}{{#if:{{{3|}}}|
-->{{#if:{{{5|}}}|<li>{{nowrap|[[{{{5}}}]]}}</li>}}<!--
* {{nowrap|[[{{{3}}}]]}}
}}{{#if:{{{4|}}}|
--></ul>
* {{nowrap|[[{{{4}}}]]}}
}}{{#if:{{{5|}}}|
* {{nowrap|[[{{{5}}}]]}}
}}
</div>
</div>
<noinclude>
<noinclude>