Template:Ombox/shortcut: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish Nope, didn't fix it. Dammit. |
meta>Newslinger Implement changes from template sandbox. Use {{ubl}} instead of bullets (*), which don't properly generate a <ul> tag when they are in the first line of a parameter's value |
||
| Line 1: | Line 1: | ||
<div role="note" class="shortcutbox | <div role="note" class="shortcutbox noprint" style="float: right; border-left: 1px solid #aaa; padding: .4em 0em .4em 1em; 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: | ||
--><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><!-- | --><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|}}}| | -->{{#if:{{{1|}}}|{{ubl | ||
|{{nowrap|{{no redirect|{{{1}}}}}}} | |||
|{{#if:{{{2|}}}|{{nowrap|{{no redirect|{{{2}}}}}}}}} | |||
|{{#if:{{{3|}}}|{{nowrap|{{no redirect|{{{3}}}}}}}}} | |||
}}{{#if:{{{3|}}}| | |{{#if:{{{4|}}}|{{nowrap|{{no redirect|{{{4}}}}}}}}} | ||
|{{#if:{{{5|}}}|{{nowrap|{{no redirect|{{{5}}}}}}}}} | |||
}}{{#if:{{{4|}}}| | }}}} | ||
}}{{#if:{{{5|}}}| | |||
}} | |||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||