Template:Shortcut: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(margin tweaks)
m (Text replacement - "{{tag|Shortcut templates|shortcut template}}" to "{{tag|shortcut template}}")
Tags: mobile edit mobile web edit
 
(One intermediate revision by the same user not shown)
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 .2em .2em .5em; padding:2px; text-align:center"><tr><th style="border:none; background:transparent"><!--
<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>


;''Usage
;''Usage
This {{tag|Shortcut templates|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 [[editor]]s any '{{tag|shortcut}}s' which have been created which will act as a [[WikiIndex:Redirect|redirect]] to the said article.
This {{tag|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 [[editor]]s any '{{tag|shortcut}}s' which have been created which will act as a [[WikiIndex:Redirect|redirect]] to the said article.


To include this on any [[article]], simply copy <code><nowiki>{{Shortcut|</nowiki>''1st shortcut''|''2nd shortcut''<nowiki>}}</nowiki></code> and paste it into said article or category [[edit box]] and save.  This [[Special:Templates|template]] will support up to five (5) shortcut links.
To include this on any [[article]], simply copy <code><nowiki>{{Shortcut|</nowiki>''1st shortcut''|''2nd shortcut''<nowiki>}}</nowiki></code> and paste it into said article or category [[edit box]] and save.  This [[Special:Templates|template]] will support up to five (5) shortcut links.


[[Category:Shortcut| ]]</noinclude>
[[Category:Shortcut| ]]</noinclude>

Latest revision as of 18:47, 28 May 2023

Shortcut:
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.