Difference between revisions of "Template:Redirect"
From WikiRaider
m |
|||
Line 12: | Line 12: | ||
*<nowiki>{{Redirect|$name_of_the_redirected_article|$name_of_alternative_target1|$name_of_alternative_target2}}</nowiki> | *<nowiki>{{Redirect|$name_of_the_redirected_article|$name_of_alternative_target1|$name_of_alternative_target2}}</nowiki> | ||
: For two alternatives. (You can add up to 10 alternatives this way.) | : For two alternatives. (You can add up to 10 alternatives this way.) | ||
− | </noinclude><includeonly>[[Image:IconS.png|left]] ''Remark: The article {{{1}}} redirects here. For other related articles see [[{{{2}}}|{{{l2|{{{2}}}}}}]]{{#if:{{{3| }}} | + | </noinclude><includeonly>[[Image:IconS.png|left]] ''Remark: The article {{{1}}} redirects here. For other related articles see: [[{{{2}}}|{{{l2|{{{2}}}}}}]]{{#if:{{{3| }}} |
|{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}} | |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}} | ||
|{{#if:{{{5|}}}|, |, and }}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}} | |{{#if:{{{5|}}}|, |, and }}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}} | ||
Line 20: | Line 20: | ||
|{{#if:{{{9|}}}|, |, and }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}} | |{{#if:{{{9|}}}|, |, and }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}} | ||
|{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | |{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | ||
− | |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|  (too many parameters in {{[[Template:main|main]]}})}}<br clear="all" /> | + | |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|  (too many parameters in {{[[Template:main|main]]}})}}.<br clear="all" /> |
----</includeonly> | ----</includeonly> |
Revision as of 09:16, 23 September 2009
The Template:Redirect should be inserted in any article to which a page points (redirects) that could have another meaning.
Example
The article Leopards points to Snow Leopards as there are no actual leopards in the Tomb Raider Games. A visitor however might be looking for the Bolivian Jaguar instead, having confused the two. (There are no leopards in South America.) So a link to the Jaguar should also be provided (in the Snow Leopard article, as the Leopard article does not exist as article but as a redirect).
Code
- {{Redirect|$name_of_the_redirected_article|$name_of_alternative_target1}}
- For one alternative.
- {{Redirect|$name_of_the_redirected_article|$name_of_alternative_target1|$name_of_alternative_target2}}
- For two alternatives. (You can add up to 10 alternatives this way.)