Template:Anchor
From The Battle for Wesnoth Wiki
Revision as of 14:40, 21 February 2024 by Celtic Minstrel (talk | contribs) (Warning about the equals sign problem)
Creates an arbitrary anchor on a page that can be linked to from elsewhere.
Usage: {{Anchor|text}} or {{Anchor|id|text}}
In the first form, the text itself is used as the ID for the anchor. In this case, it must not contain non-alphanumeric characters! Also, if the text contains an equals sign, it must be specified as a named parameter by preceding it by 2=.