FANDOM


Template documentation[view · edit · purge · links]

Template:For directs readers to a different page that may have a similar name.

This template depends on Module:Context-link
This template uses Lua. To make adjustments to this template, edit the module page.

Usage

{{for |<unnamed 1> |<unnamed 2> |t= |about= |redirect= }}

Parameters

Required

<unnamed 1>

A description of the alternative article (e.g. "for the character page").

Required

<unnamed 2>

The article to be linked. The template automatically formats the link, so do not add [[ ]].

Optional

t
(default: "<unnamed 1>" )

Overrides the display text for the article specified in unnamed 2.

Optional

about

Adds an optional "This page is about about" sentence before the rest of the template's text.

Optional

redirect

Adds an optional "redirect redirects here" sentence before the rest of the template's text.

Technical

  • Module:Context-link typically allows for an infinite number of pages to be linked. However, because of the requirements of this template, a forked version of this module is used, and as such, it does not accept infinite arguments. If there are multiple pages that need to be linked within an article using this template, multiple instances of this template should be used.
Community content is available under CC-BY-SA unless otherwise noted.