Template:Ombox/shortcut: Difference between revisions

From TestWiki
Content added Content deleted
(use div instead of table, requested on talk page)
m (1 revision imported)
 
(15 intermediate revisions by 10 users not shown)
Line 1: 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;"><!--
<div role="note" class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; padding: .4em 1em .4em 1em; text-align: center; line-height: 1.4em; font-weight: bold; font-size: smaller; background-color:white;"><!--
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}}]]:<!--
--><div style="display: inline-block; border-bottom: 1px solid #aaa; line-height: 1.5em; font-weight: normal; margin-bottom: .2em;">[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]</div><!--
-->{{#if:{{{1|}}}|{{ubl
--><ul><!--
-->{{#if:{{{1|}}}|<li>[[{{{1}}}]]</li>}}<!--
|{{nowrap|{{no redirect|{{{1}}}}}}}
-->{{#if:{{{2|}}}|<li>[[{{{2}}}]]</li>}}<!--
|{{#if:{{{2|}}}|{{nowrap|{{no redirect|{{{2}}}}}}}}}
-->{{#if:{{{3|}}}|<li>[[{{{3}}}]]</li>}}<!--
|{{#if:{{{3|}}}|{{nowrap|{{no redirect|{{{3}}}}}}}}}
-->{{#if:{{{4|}}}|<li>[[{{{4}}}]]</li>}}<!--
|{{#if:{{{4|}}}|{{nowrap|{{no redirect|{{{4}}}}}}}}}
-->{{#if:{{{5|}}}|<li>[[{{{5}}}]]</li>}}<!--
|{{#if:{{{5|}}}|{{nowrap|{{no redirect|{{{5}}}}}}}}}
}}}}
--></ul>
</div><!--
</div>
<noinclude>
Reporting if the first parameter is not a valid non-bracketed shortcut name:
{{Documentation}}
-->{{#if:{{{1|}}}
| {{#ifexist:{{{1|}}}
|
| [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
}}
}}<noinclude>
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 07:05, 30 August 2019