Template:For: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Cat.)
m (Text replacement - "[[{{{" to "[[:{{{")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>:''For {{{1|other uses}}}, see '''[[{{#if: {{{2|}}}|{{{2}}}|{{PAGENAME}} (disambiguation)}}]]'''{{#if:{{{3|}}}|&nbsp;and '''[[{{{3|}}}]]'''}}.</includeonly><noinclude>
<includeonly>{{dablink|For {{{1|other uses}}}, see '''{{#if:{{{2|}}}|[[:{{{2}}}|{{{t1|{{{2}}}}}}]] | [[{{PAGENAME}} (disambiguation)}}]]}}'''{{#if:{{{3|}}}|&nbsp;and '''[[:{{{3|}}}|{{{t2|{{{3}}}}}}]]'''}}.}}</includeonly><noinclude>


==Info==
==Info==
Line 5: Line 5:


Use this template whenever you have a page whose title or subject could also refer to another thing, of which there is also an article.
Use this template whenever you have a page whose title or subject could also refer to another thing, of which there is also an article.
==Parameters==
{| class = "wikitable"
! Parameter || Mandatory || Default || Purpose || Detailed description
|-
! 1
| No || other uses || Alternate subject || Write the name of the relevant alternate subject here.
|-
! 2
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' (disambiguation) || Alternate page 1 || Name of the page with the alternate subject.
|-
! 3
| No ||  || Alternate page 2 || Yet another page that is also related to the alternate subject.
|-
! t1
| No ||  || Text 1 || Text for the first alternative page's link, if it's different from the page name.
|-
! t2
| No ||  || Text 2 || Text for the second alternative page's link, if it's different from the page name.
|}
==Skeleton==
<pre>
{{for|<alternate subject>|<alternate page 1>|<alternate page 2>}}
</pre>
==Examples==
{| class = "wikitable"
! Code || Result
|-
| <pre>{{for|2=Main Page}}</pre>
| {{for|2=Main Page}}
|-
| <pre>{{for|main page-related articles|Main Page|Talk:Main Page}}</pre>
| {{for|main page-related articles|Main Page|Talk:Main Page}}
|}


==See also==
==See also==
Line 10: Line 46:
*[[Template:Redirects]]
*[[Template:Redirects]]


[[Category:Disambiguation link templates]]
[[Category:Disambiguation link templates]]</noinclude>
</noinclude>

Latest revision as of 12:08, June 2, 2023


Info

For the template that also describes the article it's in, see Template:Otheruses.

Use this template whenever you have a page whose title or subject could also refer to another thing, of which there is also an article.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 No other uses Alternate subject Write the name of the relevant alternate subject here.
2 No {{PAGENAME}} (disambiguation) Alternate page 1 Name of the page with the alternate subject.
3 No Alternate page 2 Yet another page that is also related to the alternate subject.
t1 No Text 1 Text for the first alternative page's link, if it's different from the page name.
t2 No Text 2 Text for the second alternative page's link, if it's different from the page name.

Skeleton

{{for|<alternate subject>|<alternate page 1>|<alternate page 2>}}

Examples

Code Result
{{for|2=Main Page}}
For other uses, see Main Page.
{{for|main page-related articles|Main Page|Talk:Main Page}}
For main page-related articles, see Main Page and Talk:Main Page.

See also