Template:For: Difference between revisions
m (I thought I fixed that issue) |
sims>Matthew Cenance mNo edit summary |
||
Line 1: | Line 1: | ||
:<span class="dablink">''{{#if:{{{redirect<includeonly>|</includeonly>}}}|"{{{redirect}}}" redirects here. }}For {{{1|other uses}}}, see [[{{{2|{{PAGENAME}} (disambiguation)}}}]]{{#if:{{{3|}}}| and [[{{{3}}}]]}}.''</span><noinclude> |
:<span class="dablink">''{{#if:{{{redirect<includeonly>|</includeonly>}}}|"{{{redirect}}}" redirects here. }}For {{{1|other uses}}}, see [[{{{2|{{PAGENAME}} (disambiguation)}}}]]{{#if:{{{4|}}}|,[[{{{3}}}]], and [[{{{4}}}]].|{{#if:{{{3|}}}| and [[{{{3}}}]]}}}}.''</span><noinclude>{{documentation}}</noinclude> |
||
{{documentation}}</noinclude> |
Revision as of 21:16, 25 May 2019
- "{{{redirect}}}" redirects here. For other uses, see For (disambiguation).
Description
This template is used at the top of pages for simple disambiguations.
Syntax
Type {{For|something|page name|optional second pagename}}
If a page redirects here, you can use
- "name of redirect" redirects here. For something, see page name and optional second pagename.
Sample output
{{for|the help pages|Help:Contents|Help:Main Page}}
gives...- For the help pages, see Help:Contents and Help:Main Page.
{{for|2=Help:Contents}}
gives...- For other uses, see Help:Contents.
{{for|redirect=Garrett|other people named Garrett|Garrett (disambiguation)}}
gives...- "Garrett" redirects here. For other people named Garrett, see Garrett (disambiguation).
See also
- Template:For on Wikipedia.
TemplateData
TemplateData for For
This template adds a "For <this>, see <that>" hatnote at the top of the article. It can also be used to say "For other users, see <this>" and "<this> redirects here. For <that>, see <that>."
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | 1 | A phrase describing the major alternative, or a general term for all alternative meanings
| String | optional |
First link | 2 | A page to link to. This is usually a disambiguation page or the other most likely meaning.
| String | optional |
Second link | 3 | A page to link to for another meaning, if any. | String | optional |
Redirect | redirect | If a page redirects here that is similar to the name you're trying to link to, specify the name of that page.
| String | optional |