Template:Ombox/shortcut: Difference between revisions

Undid revision 762889452 by SMcCandlish (talk) plainlist applies to the wrapper, so we can use just * for the ul
(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:
<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:
-->{{#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:
-->[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:<!--
-->{{#if:{{{1|}}}|
--><ul class="plainlist"><!--
* -->{{#if:{{{1|}}}|<li>{{nowrap|[[{{{1}}}]]}}</li>}}<!--
-->}}{{#if:{{{2|}}}|<li>{{nowrap|[[{{{2}}}]]}}</li>}}<!--
* -->{{#if:{{{3|}}}|<li>{{nowrap|[[{{{32}}}]]}}</li>}}<!--
-->}}{{#if:{{{43|}}}|<li>{{nowrap|[[{{{4}}}]]}}</li>}}<!--
* -->{{#if:{{{5|}}}|<li>{{nowrap|[[{{{53}}}]]}}</li>}}<!--
}}{{#if:{{{4|}}}|
--></ul>
* {{nowrap|[[{{{4}}}]]}}
}}{{#if:{{{5|}}}|
* {{nowrap|[[{{{5}}}]]}}
}}
</div>
<noinclude>
Anonymous user