Difference between revisions of "Template:Redirect"

From WikiRaider
Jump to: navigation, search
m
m
 
(2 intermediate revisions by the same user not shown)
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 [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
+
</noinclude><includeonly>[[Image:IconS.png|left]] ''Remark: The article '''{{{1}}}''' redirects here. For other related articles see: [[{{{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|}}}
 
  |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
 
  |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
Line 21: Line 20:
 
  |{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
 
  |{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
 
  |{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
 
  |{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
  |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}<br clear="all" />
+
  |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}.<br clear="all" />
 
----</includeonly>
 
----</includeonly>

Latest revision as of 10:17, 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.)