Template:Anchor

From Starfleet Commander
Jump to navigationJump to search

<span id="Missing reqired parameter">

Template Documentation Icon.png Template documentation

Light Bulb Icon.png Note: When viewing this template it shows: <span id="Missing reqired parameter"></span> it's not an error.

Functonality

Creates an HTML anchor.

This template is used to create a single tag or anchor.

{{Anchor|id|Text to display}}

Usage

{{Anchor|parameter1|parameter2}}

  • parameter1required
    This indicates the name of the HTML anchor
  • parameter2optional
    This creates text to display at the location of the template

In order to access this link anchor, use [[examplepagename#parameter1]]

Example

{{Anchor|parameter1|parameter2}}

parameter2