Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Section link/doc

Template page
Revision as of 01:34, 25 November 2024 by Devonnn (talk | contribs) (update the parameters to reflect and give example of use case for the "display name" parameter)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The {{Section link}} template is used to link to a section within an article, the section link should be avoided to link cross-article as it can be confusing for some users to be navigated to the middle of an external webpage.

Useage

{{Section link|1|2}}
{{Section link|section|display name}}

Examples

{{Section link|Parameters}}

produces

§ Parameters




{{Section link|Parameters|Epic parameters ...}}

produces

§ Epic parameters ...

Parameters

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
section1

The section of the article you want to link to. The subsection should be entered with the correct case (matching the header of the section you are linking) as well as spacing, punctuation, etc.

Contentrequired
display name2

The (optional) display name of a link. This parameter should only be used when the section you are linking to is greater than 20-30 characters to reduce the size of the link. Utilize ellipsis (...) when shortening the link.

Contentoptional