Template:Redirect: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
m (Replace the #sub and #pos, with an #explode)
m (You know what? If an article has the : (the delimiter) then this will fail, so we'll just wait til gamepedia fixes #pos Undid revision 587169 by KokoroSenshi (Talk))
Line 1: Line 1:
[[File:Redirectltr.png|#REDIRECT|link=]]
[[File:Redirectltr.png|#REDIRECT|link=]]
<span class="redirectText" id="softredirect" style="font-size: 150%; position:relative; top:4px">
<span class="redirectText" id="softredirect" style="font-size: 150%; position:relative; top:4px">
[[:{{{1}}}|{{{2|{{#explode:{{{1}}}|:|1}}}}}]] {{#switch:{{#explode:{{{1}}}|:|0}}
[[:{{{1}}}|{{{2|{{#sub:{{{1}}}|{{#expr:{{#pos:{{{1}}}|:}}+1}}|0}}}}}]] {{#switch:{{#explode:{{{1}}}|:|0}}
|ac|np=[[Community:Nookipedia|Nookipedia]]
|ac|np=[[Community:Nookipedia|Nookipedia]]
|bp=on [[Community:Bulbapedia|Bulbapedia]]
|bp=on [[Community:Bulbapedia|Bulbapedia]]

Revision as of 13:49, 9 August 2017

#REDIRECT [[:{{{1}}}|{{1}}}]]
This page is a soft redirect.

Purpose

For normal redirects, use #REDIRECT instead.

This template is used to create a soft redirect. These are useful when:

  • Linking to an article on an external wiki page, such a wiki page from one of the NIWA members
  • Linking to special pages

Usage

    {{Redirect|target page }}

Prefixes may be used to determine which NIWA wiki to link to. A list on these prefixes can be seen here.

Examples