Template:Shortcut: Difference between revisions
(New page: <noinclude>{{protected template}}</noinclude><table style="border: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|999}}; background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|f8eaba|fff}...) |
(doc) |
||
Line 1: | Line 1: | ||
<noinclude>{{protected template}}</noinclude><table style="border: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|999}}; background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|f8eaba|fff}}; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint"> | <noinclude>{{protected template}}</noinclude><table style="border: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|999}}; background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|f8eaba|fff}}; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint"> | ||
<th id="shortcut" 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> | <th id="shortcut" 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> | ||
</th></table><noinclude>{{ | </th></table><noinclude>{{documentation}}</noinclude> |
Revision as of 13:12, 6 June 2008
Template:Template doc page transcluded
Usage
This template is primarily used on Wikipedia guideline and policy pages to show the shortest alias of a given page. For example, WP:SHORT redirects to Wikipedia:Shortcut. 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:Foo is in fact {{Foo}}. There's no need to state the obvious like that, by default every template uses its own name as a shortcut.
Template usage
Please use {{template shortcut}} to indicate convenient template redirects, which is specifically intended for that purpose.