|
|
(19 intermediate revisions by 11 users not shown) |
Line 1: |
Line 1: |
− | <table class="shortcutbox noprint" style="float:right; border:1px solid #aaa; background:#fff; margin: .3em .3em .3em 1em; padding:3px; text-align:center;"> | + | <includeonly>{{#invoke:Shortcut|main}}</includeonly><noinclude> |
− | <tr><th style="border:none; background:transparent;"><!--
| + | {{documentation}} |
− | Adding the shortcut links:
| + | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
− | --><small>[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:<br> {{#ifexist:{{{1|}}}|[[{{{1}}}]]|{{{1|}}} }}{{#if:{{{2|}}}|<br> [[{{{2}}}]] }}{{#if:{{{3|}}}|<br> [[{{{3}}}]]}}{{#if:{{{4|}}}|<br> [[{{{4}}}]] }}{{#if:{{{5|}}}|<br> [[{{{5}}}]] }}</small>
| |
− | </table><!--
| |
− | Reporting if the first parameter is not a valid non-bracketed shortcut name:
| |
− | -->{{#if:{{{1|}}} | |
− | | {{#ifeq:{{SUBJECTSPACE}}|User
| |
− | |
| |
− | | {{#ifexist:{{{1|}}}
| |
− | |
| |
− | | [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
| |
− | }}
| |
− | }}
| |
− | }}<noinclude>
| |
− | | |
− | {{pp-template|small=yes}}
| |
− | {{Documentation}}
| |
| </noinclude> | | </noinclude> |