Jump to content

Template:Anchor

From DynamicPageList4 Manual
Revision as of 23:04, 8 September 2025 by FrozenPlum (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 source]
  • {{anchor|variables|page=Controlling output format}} gives:

variables

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

use some Variables

See Also

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

Template Data

[edit source]

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


Cookies help us deliver our services. By using our services, you agree to our use of cookies.