Template:Redirects: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Changed to use {{dablink}}.)
(New documentation style.)
Line 1: Line 1:
<includeonly>{{dablink|"{{{1}}}" redirects here. For {{{2|other uses}}}, see '''[[{{{3|{{PAGENAME}} (disambiguation)}}}]]'''{{#if:{{{4|}}}|{{#if:{{{5|}}}|,&nbsp;|&nbsp;and&nbsp;}}'''[[{{{4|}}}]]'''}}{{#if:{{{5|}}}|&nbsp;and '''[[{{{5|}}}]]'''}}.}}</includeonly><noinclude>
<includeonly>{{dablink|"{{{1}}}" redirects here. For {{{2|other uses}}}, see '''[[{{{3|{{PAGENAME}} (disambiguation)}}}]]'''{{#if:{{{4|}}}|{{#if:{{{5|}}}|,&nbsp;|&nbsp;and&nbsp;}}'''[[{{{4|}}}]]'''}}{{#if:{{{5|}}}|&nbsp;and '''[[{{{5|}}}]]'''}}.}}</includeonly><noinclude>


==Usage example==
==Info==
<nowiki>{{redirects|Redir|the second one|Redirects 2}}</nowiki> turns into: ''"Redir" redirects here. For the second one, see '''Redirects 2'''.''
Place this template at the top of articles that have redirects linking to them, and where said redirects could mean more than one thing.
 
==Parameters==
{| class = "wikitable"
! Parameter || Mandatory || Default || Purpose || Detailed description
|-
! 1
| '''Yes''' ||  || Redirect page || The page that redirects here.
|-
! 2
| No || other uses || Disambiguation || What the user might need the other page for.
|-
! 3
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' (disambiguation) || Page 1 || Alternative page.
|-
! 4
| No ||  || Page 2 || Secondary alternative page.
|-
! 5
| No ||  || Page 3 || Tertiary alternative page.
|}
 
==Template==
<pre>
{{redirects|<redir>|<disambig>|<page 1>|<page 2>|<page 3>}}
</pre>
 
==Examples==
{| class = "wikitable"
! Code || Result
|-
| <pre>{{redirects|Orange|the Bulborb with orange skin|Orange Bulborb}}</pre>
| {{redirects|Orange|the Bulborb with orange skin|Orange Bulborb}}
|}
 
[[Category:Disambiguation link templates]]
[[Category:Disambiguation link templates]]
</noinclude>
</noinclude>

Revision as of 13:12, October 28, 2014


Info

Place this template at the top of articles that have redirects linking to them, and where said redirects could mean more than one thing.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 Yes Redirect page The page that redirects here.
2 No other uses Disambiguation What the user might need the other page for.
3 No {{PAGENAME}} (disambiguation) Page 1 Alternative page.
4 No Page 2 Secondary alternative page.
5 No Page 3 Tertiary alternative page.

Template

{{redirects|<redir>|<disambig>|<page 1>|<page 2>|<page 3>}}

Examples

Code Result
{{redirects|Orange|the Bulborb with orange skin|Orange Bulborb}}
"Orange" redirects here. For the Bulborb with orange skin, see Orange Bulborb.