Template:Anchor

Documentation
Anchor: This creates an HTML anchor (in-page link target for an  link – the part after the  ) for the given text, invisibly. This is useful for providing alternative names to linkable things (e.g. British spellings, acronyms, or old names of article sections that someone may have linked to). For a version with displayed anchor text, see Template:Vanchor.

This template replaces something like:



with:



which displays as:


 * Blah blah blah, more text here.

(without the indentation; this is an inline template). That spot can be linked to on this template page as Template:Anchor. The real space and mess savings are when this is used with multiple parameters (see below).

Important: This text cannot contain markup of any kind, only plain text – no wikimarkup, no templates. It's invisible anyway.

If the text includes an equals sign anywhere in it, you must use a numbered parameter for the text:

Also, the text is a literal string. These two are not equivalent:



Additional parameters
The template will create up to 9 anchors, for spelling variations, etc. All are invisible. These are given in series or numbered:



HTML note
This uses HTML 4.01's  format only because the installed version of MediaWiki at wiki.OpenMW.org does not support the cleaner HTML5   syntax. If the system is upgraded to support it, this template should be updated to use it.