Template:TxtAnchor

From Sons of the Forest Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Usage: {{TxtAnchor|Anchor name}}


This template allows you to create anchors to text.

Keep in mind that this template needs to be used as shown in Usage, otherwise it won't work.

For image anchors, check this template: Template:ImgAnchor

Example[edit source]

Here is how you can use the `TxtAnchor` template:

On the target page[edit source]

== Example Section ==
Some text before the anchor.
{{TxtAnchor|anchor-name}} Anchored text.
Some text after the anchor.

On the linking page[edit source]

To link directly to the anchored text, use:
[[TargetPage#anchor-name|Link to text]]