Difference between revisions of "Template:Redirect"

From WikiRaider
Jump to: navigation, search
(Created page with '<noinclude>The '''Template:Redirect''' should be inserted in any article to which a page points (redirects) that could have another meaning. ==Example== The article [[Leopards...')
 
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 uses see [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}  
+
</noinclude><includeonly>[[Image:IconS.png|left]] ''Remark: The article {{{1}}} redirects here. For other related articles see [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}  
 
  |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
 
  |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}

Revision as of 09:10, 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.)