Difference between revisions of "Template:Shortcut"

From MINR.ORG WIKI
(Adding anchor functionality. (All pages that was feeding the first parameter the wrong way have been fixed, so now we can do this.))
(Removing old #ifexist that is not needed anymore.)
Line 3: Line 3:
 
-->{{#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:
--><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}}]]: {{#if:{{{1|}}}|<br> [[{{{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:
 
Reporting if the first parameter is not a valid non-bracketed shortcut name:
 
-->{{#if:{{{1|}}}
 
-->{{#if:{{{1|}}}

Revision as of 23:20, 10 May 2008

Shortcut:

Template:Pp-template

Template documentation[create]