[[{{{1}}}|<span id="{{{1}}}">{{{1}}}</span>]]

Template:LA creates an anchor to link text in a page that can be linked to from or within a given page. It is an alternative to {{A}}, which does the same for normal text.

Usage

{{LA |<unnamed 1> |<unnamed 2> }}

Note: Every anchor name needs to be unique on the page it is used on.

Parameters

Required

<unnamed 1>

The page to be linked to. If no second parameter is entered, this also becomes the name of the anchor(s).

Optional

<unnamed 2>
(default: "<unnamed 1>" )

The display text, and the name of the anchor(s) if entered.

Anchors can be linked to from other pages by using [[Page name#Anchor name]].

Examples

{{LA |Excalibur }}

Produces:

Excalibur

The above string can now be linked to using Template:LA#Excalibur.

In order to output a different display name, use the second parameter.

{{A |Salamand (Final Fantasy II) |Salamand }}

Produces:

Salamand

The above string can now be linked to using Template:LA#Example anchor 2.

See also

  • {{A}}, used to make normal text anchorable.
Community content is available under CC-BY-SA unless otherwise noted.