Template:ImgAnchor/doc

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

Usage: {{ImgAnchor|Anchor name|image.png}}


This template allows you to create anchors to images or icons.

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

For text anchors, check this template: Template:TxtAnchor

Example[edit source]

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

On the target page[edit source]

== Example Section ==
Some text before the icon.
{{ImgAnchor|anchor-name|[[File:ExampleIcon.png]]}}
Some text after the icon.

On the linking page[edit source]

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