Jump to content

Template:Anchor/doc

From Mango's Lewd Diplomacy: Official Wiki
This is the documentation page for Template:Anchor.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

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.

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