Template:For: Difference between revisions

Template page
(documentation)
No edit summary
 
Line 1: Line 1:
<div style="font-style: italic; margin-left: 1.5em; margin-bottom: 1em">For {{{1|other uses}}}, see [[{{{2}}}]]. {{#if: {{{3|}}} | For {{{3}}}, see [[{{{4}}}]].}}</div><noinclude>{{Documentation}}</noinclude>
<div style="font-style: italic; margin-left: 1.5em; margin-bottom: 1em">For {{{1}}}, see [[{{{2}}}]]. {{#if: {{{3|}}} | For {{{3}}}, see [[{{{4}}}]].}}</div><noinclude>{{Documentation}}</noinclude>

Latest revision as of 20:04, 26 October 2025

For {{{1}}}, see [[{{{2}}}]].
Template documentation
Template:For creates a hatnote that suggests pages with similar titles or meanings which readers may also be looking for.

Usage

With one link

{{For|description|article link}}
  • The first parameter is a description of the other page you are linking to.
  • The second parameter is the name of the other page you are linking to.

With two links

{{For|description 1|article link 1|description 2|article link 2}}
  • The first parameter is a description of the first page you are linking to.
  • The second parameter is the name of the first page you are linking to.
  • The third parameter is a description of the second page you are linking to.
  • The fourth parameter is the name of the second page you are linking to.

Template:For does not support linking to more than two other pages.

Example

With one link

{{For|the Pokémon type|Dark}}

Produces:

For the Pokémon type, see Dark.

With two links

{{For|the Pokémon type|Dark|the Pokémon variant|Dark (Variant)}}

Produces:

For the Pokémon type, see Dark. For the Pokémon variant, see Dark (Variant).