|
|
Line 1: |
Line 1: |
| <div align="center">
| | Tämä luo ulkopuolisen linkin, esimerkiksi koodilla <code><nowiki>{{redirect|wp:GTA}}</nowiki></code> saa aikaan mallineen, joka luo linkin Wikipedian artikkeliin ''GTA'' |
| <div style="border:1px solid #AAA;width:700px;text-align:left;font-size:18px;padding:5px;">
| |
| [[Image:Redirect.png|left]]Click this link to go to {{#if: {{{2| }}} | [[{{{1}}}|{{{2}}}]] | [[{{{1|Main Page}}}]] }} {{{3| }}}
| |
| </div></div><br /><noinclude>
| |
| | |
| 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
| |
| | |
| {{redirect|GTA}}
| |
| | |
| | |
| This will also work for external [[Help:Interwiki|Interwiki]] links, eg <code><nowiki>{{redirect|wp:GTA}}</nowiki></code> which links to the page "GTA" on Wikipedia.
| |
| | |
| {{redirect|wp:GTA}} | | {{redirect|wp:GTA}} |
|
| |
|
| |
| By adding a second variable, you can specify the text for the link, eg <code><nowiki>{{redirect|GTA|Grand Theft Auto}}</nowiki></code>
| |
|
| |
| {{redirect|GTA|Grand Theft Auto}}
| |
|
| |
|
| |
| This also works for Interwiki links eg <code><nowiki>{{redirect|wp:GTA|Grand Theft Auto}}</nowiki></code>
| |
|
| |
| {{redirect|wp:GTA|Grand Theft Auto}}
| |
|
| |
|
| |
| By adding a third variable, you can specify text to come ''after'' the link, such as the location<code><nowiki>{{redirect|wp:GTA|Grand Theft Auto|on Wikipedia}}</nowiki></code>
| |
|
| |
| {{redirect|wp:GTA|Grand Theft Auto|on Wikipedia}}
| |
|
| |
|
| |
| </noinclude><noinclude>
| |
| [[Category:Templates|{{PAGENAME}}]]</noinclude>
| |