Template:Redirects: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Changed to use {{dablink}}.)
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
 
(2 intermediate revisions by one other user not shown)
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.
[[Category:Disambiguation link templates]]
 
</noinclude>
==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.
|}
 
==Skeleton==
<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]]</noinclude>

Latest revision as of 01:19, August 30, 2019


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.

Skeleton

{{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.