Difference between revisions of "Template:Shortcut"

From Meta
Jump to navigation Jump to search
(Created page with "<!-- Putting anchors on page: --><div style="position: relative; top: -3em;">{{#if:{{{1|}}}|<span id="{{anchorencode:{{{1|}}}}}"></span> }}{{#if:{{{2|}}}|<span id="{{anchorenc...")
 
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
<table class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"><tr><th style="border: none; background: transparent;" class="plainlist"><!--
 
<table class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"><tr><th style="border: none; background: transparent;" class="plainlist"><!--
 
Adding the shortcut links:
 
Adding the shortcut links:
--><small>[[Wikipedia:Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:
+
--><small>[[w:Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:
 
   {{#if:{{{1|}}}|<ul><li> [[{{{1}}}]]</li>
 
   {{#if:{{{1|}}}|<ul><li> [[{{{1}}}]]</li>
 
}}{{#if:{{{2|}}}|<li> [[{{{2}}}]]</li>
 
}}{{#if:{{{2|}}}|<li> [[{{{2}}}]]</li>
Line 11: Line 11:
 
}}{{#if:{{{5|}}}|<li> [[{{{5}}}]]</li>
 
}}{{#if:{{{5|}}}|<li> [[{{{5}}}]]</li>
 
}}{{#if:{{{msg|}}}|<li> {{{msg}}}</li>
 
}}{{#if:{{{msg|}}}|<li> {{{msg}}}</li>
}}</ul></small></th></tr></table><!--
+
}}</ul></small></th></tr></table><noinclude>
Reporting if the first parameter is not a valid non-bracketed shortcut name:
 
-->{{#if:{{{1|}}}
 
| {{#ifexist:{{{1|}}}
 
  |
 
  | [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
 
  }}
 
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 06:37, 19 April 2019

Shortcut:
Template documentation[create]