Difference between revisions of "Template:For"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
(.)
 
m
Line 35: Line 35:
! Code !! Result
! Code !! Result
|-
|-
|<pre>{{for|2=Main Page}}</pre>
|<pre>{{for|2=Diary of a Wimpy Kid Wiki}}</pre>
|{{for|2=Main Page}}
|{{for|2=Diary of a Wimpy Kid Wiki}}
|-
|-
|<pre>{{for|main page-related articles|Main Page|Talk:Main Page}}</pre>
|<pre>{{for|main page-related articles|Diary of a Wimpy Kid Wiki|Talk:Diary of a Wimpy Kid Wiki}}</pre>
|{{for|main page-related articles|Main Page|Talk:Main Page}}
|{{for|main page-related articles|Diary of a Wimpy Kid Wiki|Talk:Diary of a Wimpy Kid Wiki}}
|}
|}


[[Category:General wiki templates]]</noinclude>
[[Category:General wiki templates]]</noinclude>

Revision as of 02:32, 3 May 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=Diary of a Wimpy Kid Wiki}}
For other uses, see Diary of a Wimpy Kid Wiki.
{{for|main page-related articles|Diary of a Wimpy Kid Wiki|Talk:Diary of a Wimpy Kid Wiki}}
For main page-related articles, see Diary of a Wimpy Kid Wiki and Talk:Diary of a Wimpy Kid Wiki.