Template:Top/doc

From Salem Wiki
< Template:Top
Revision as of 18:45, 25 July 2012 by ©TriMoon™ (talk | contribs) (Protected "Template:Top/doc": Documentation of key-feature ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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