Template:Anchor/doc: Difference between revisions
Appearance
MLD>Lorenerd11 No edit summary |
(No difference)
|
Revision as of 11:44, 18 October 2024
The {{anchor}}
template can be used to manually create an anchor on a page out of any given text. For example, using {{anchor|DPS}}
on the jargon page will allow other pages to link to [[jargon#DPS|DPS]]
; the link will immediately jump to the definition of "DPS".
When used under sections headers, the offset
parameter can be used to align it with the header anchor. For H2 headers, use -2em, and for H3 headers, use -1.5em. For example, {{anchor|Pre-FTL|offset=-2em}}
was used under the pre-FTL section of the Jobs page.