From Test-Scratch-Wiki

< Template:Anchor

Template:Anchor/doc/translate

Documentation This is a documentation subpage for Template:Anchor (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

This template simply adds a span with an ID around anything you pass to it.

Usage

Parameters:

  1. ID to anchor to
  2. Content of anchor (if needed)

Example

{{anchor|test|asdf}}

Produces:


asdf