Template:Anchor

From SoftMC-Wiki
Revision as of 14:13, 7 November 2011 by Arwiebe (talk | contribs) (added description for underscores in anchor)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adds a html anchor to the page, which can be referenced by #anchor.

Template

{{Anchor|text|anchor}}

Parameters

text
Display text
anchor (optional)
Anchor string. If missing, text is used as anchor string.
Note: Spaces in anchor are converted to underscores (_)!

Examples

Input
* The {{Anchor|output}} is described below.
* {{Anchor|Any Text with ''style''|my Anchor}}
Output
  • The output is described below.
  • Any Text with style
References
Go to #output or #my_Anchor.

For more examples refer to pages, which use this template: What links here.

Help:Templates describes general usage of templates, including treatment of special characters.


Long page simulation

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10