Template:Shortcut: Difference between revisions

Template page
w:c:strategywiki>Argash
m (creation, taken from wikipedia)
 
m (13 revisions imported: Imported from https://strategywiki.org/)
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<table class="noprint Template-Shortcut" style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right">
<p class="noprint plainlinks" style="float: right; background: #fff; border: 1px solid #999; margin: .3em .3em .3em 1em; padding: 3px;">Shortcut:<br />[[{{{1}}}]]<!--
<th class="noprint" align="center" valign="top"><small>[[Wikipedia:Shortcut|Shortcut]]:<br />{{#ifexist:{{{1|}}}|[[{{{1}}}]]|{{{1|}}} }}{{#if:{{{2|}}}|<br />[[{{{2}}}]]}}{{#if:{{{3|}}}|<br />[[{{{3}}}]]}}{{#if:{{{4|}}}|<br />[[{{{4}}}]]}}{{#if:{{{5|}}}|<br />[[{{{5}}}]]}}</small>
-->{{#if:{{{2|}}}|<br />[[{{{2}}}]]}}<!--
</th></table>
-->{{#if:{{{3|}}}|<br />[[{{{3}}}]]}}<!--
-->{{#if:{{{4|}}}|<br />[[{{{4}}}]]}}<!--
-->{{#if:{{{5|}}}|<br />[[{{{5}}}]]}}</p><noinclude>
{{Documentation}}


<noinclude>
[[Category:Templates]]</noinclude>
[[Category:Templates]]
</noinclude>

Latest revision as of 18:27, 28 October 2023

This page has been transcluded from Template:Shortcut/Documentation.


Usage[edit source]

This template is primarily used on StrategyWiki guideline and policy pages to show the shortest alias of a given page. For example, SW:GUIDE redirects to StrategyWiki:Guide. The point of this template is not to list every single redirect (indeed, that's what Special:Whatlinkshere is for); for any given page, it should list only one or two common and easily-remembered redirects.

Don't use this template on other templates, e.g. to state that the shortcut to Template:Shortcut is in fact {{Shortcut}}. There's no need to state the obvious like that, by default every template uses its own name as a shortcut.