Difference between revisions of "Template:Shortcut"

From MINR.ORG WIKI
(Dummy edit to make pages re-render to force any left over pages to come into CAT:SHORTFIX. (The job queue is only about 100 today so.))
(Adding anchor functionality. (All pages that was feeding the first parameter the wrong way have been fixed, so now we can do this.))
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;"><tr><th style="border: none; background: transparent;"><!--
+
<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;"><!--
 +
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:
 
Adding the shortcut links:
 
--><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><!--
 
--><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><!--
Line 7: Line 9:
 
   |  
 
   |  
 
   | [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
 
   | [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
   }}
+
   }}  
 
}}<noinclude>
 
}}<noinclude>
  
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
{{Documentation}}
 
{{Documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 23:40, 10 May 2008

Shortcut:

Template:Pp-template

Template documentation[create]