Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this template's documentation (edit) (about template documentation).
No TemplateStyles exist (create). Remember to add after the opening <includeonly> tag:
<templatestyles src="Template:Anchor/styles.css" />


Example(s)

edit
  • {{anchor|variables|page=Controlling output format}} gives:

variables

  • {{anchor|variables|use some Variables|page=Controlling output format}} gives:

use some Variables

See Also

edit
  • {{Anc}}, the partner template to this one, used to set (and auto-format) named anchors.

Template Data

edit

Links to an HTML anchor (named anchor) as set by the {Anc} template, which automatically pre-formats the anchor, forcing lowercase and replacing spaces with dashes.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

Enter the name for the anchor, omitting any special characters as documented in the {anc} template. Note that spaces are auto-replaced by dashes, and lowercase is forced, only for the link itself.

Stringoptional
22

Enter any text to override the display text, which overrides the link (display) text only.

Stringoptional
pagepage

If the anc (anchor using the {anc} template) isn't located on the same page, specify the page (including namespaces).

Page nameoptional

Manual documentation templates