Template:Top/doc

From Salem Wiki
Jump to: navigation, search

Description

This template is used to generate links to navigate back to the top section on a page, for use in long sections or text.

Syntax

Type the below code somewhere on a page:
{{Top}}
It can accept 2 un-named parameters.
The first is used to select the section name to link-to. (Defaults to 'About')
The second is used to replace the shown text. (Defaults to 'top')

Examples

  1. {{Top}}
    Back to top
    Back to top
     
  2. {{Top|Description}}
    Back to top
    Back to top
     
  3. {{Top||you}}
    Back to you
    Back to you