Template:Shortcut: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) (margin tweaks) |
Hoof Hearted (talk | contribs) m (margin tweaks) |
||
Line 1: | Line 1: | ||
<!--Putting anchors on page:--><div style="position:relative; top:-3em">{{#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>}}</div> | <!--Putting anchors on page:--><div style="position:relative; top:-3em">{{#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>}}</div> | ||
<table class="shortcutbox noprint" style="float:right; border:1px solid #aaa; background:#fff; margin:0em . | <table class="shortcutbox noprint" style="float:right; border:1px solid #aaa; background:#fff; margin:0em .1em .2em .5em; padding:2px; text-align:center"><tr><th style="border:none; background:transparent"><!-- | ||
Adding the shortcut links: | Adding the shortcut links: | ||
--><small>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></th></tr></table><noinclude> | --><small>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></th></tr></table><noinclude> |
Revision as of 20:20, 5 September 2021
- Usage
This shortcut template can be used if you want to link to any page which may have a long, unwieldy title; such as WikiIndex:Text of the Licence Art Libre - Free Art License. Its' purpose is to show other editors any 'shortcuts' which have been created which will act as a redirect to the said article.
To include this on any article, simply copy {{Shortcut|1st shortcut|2nd shortcut}}
and paste it into said article or category edit box and save. This template will support up to five (5) shortcut links.