Template:Redirect: Difference between revisions
m (Cat) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
</div></div><br /><noinclude> | </div></div><br /><noinclude> | ||
This template is for soft redirects. This template will NOT redirect the user, but will simply provide a big link | This template is for soft redirects. This template will NOT redirect the user, but will simply provide a big link. To make a page automatically redirect to another article, use <code><nowiki>#REDIRECT [[Page Name]]</nowiki></code>. | ||
By putting a link to a page, in the template eg <code><nowiki>{{redirect|GTA}}</nowiki></code> you give the following | By putting a link to a page, in the template eg <code><nowiki>{{redirect|GTA}}</nowiki></code> you give the following | ||
{{redirect|GTA}} | {{redirect|Grand Theft Auto|GTA}} | ||
Line 18: | Line 18: | ||
By adding a second variable, you can specify the text for the link, eg <code><nowiki>{{redirect|GTA|Grand Theft Auto}}</nowiki></code> | By adding a second variable, you can specify the text for the link, eg <code><nowiki>{{redirect|GTA|Grand Theft Auto}}</nowiki></code> | ||
{{redirect| | {{redirect|Grand Theft Auto|Grand Theft Auto}} | ||
Latest revision as of 09:56, 13 July 2010

This template is for soft redirects. This template will NOT redirect the user, but will simply provide a big link. To make a page automatically redirect to another article, use #REDIRECT [[Page Name]]
.
By putting a link to a page, in the template eg {{redirect|GTA}}
you give the following

This will also work for external Interwiki links, eg {{redirect|wp:GTA}}
which links to the page "GTA" on Wikipedia.

By adding a second variable, you can specify the text for the link, eg {{redirect|GTA|Grand Theft Auto}}

This also works for Interwiki links eg {{redirect|wp:GTA|Grand Theft Auto}}

By adding a third variable, you can specify text to come after the link, such as the location{{redirect|wp:GTA|Grand Theft Auto|on Wikipedia}}
