Template:Ombox/shortcut: Difference between revisions

m
1 revision imported
(padding reduction, per talk page)
m (1 revision imported)
 
(23 intermediate revisions by 14 users not shown)
Line 1:
<tablediv role="note" class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; backgroundpadding: #fff;.4em margin:1em 0;.4em padding: 1px1em; text-align: center; line-height: 1.1em"><tr><th4em; style="borderfont-weight: nonebold; backgroundfont-size: transparentsmaller; background-color:white;"><!--
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:
--><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><!--
--><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><!--
-->{{#if:{{{1|}}}|{{ubl
Reporting if the first parameter is not a valid non-bracketed shortcut name:
-->|{{#if:nowrap|{{no redirect|{{{1|}}}}}}}
| {{#ifexistif:{{{12|}}}|{{nowrap|{{no redirect|{{{2}}}}}}}}}
|{{#if:{{{3|}}}|{{nowrap|{{no redirect|{{{3}}}}}}}}}
|
|{{#if:{{{4|}}}|{{nowrap|{{no redirect|{{{4}}}}}}}}}
| [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
|{{#if:{{{5|}}}|{{nowrap|{{no redirect|{{{5}}}}}}}}}
}}
}}}}
}}<noinclude>{{pp-template|small=yes}}</noinclude>
</div>
<noinclude>
{{Documentation}}
</noinclude>