Difference between revisions of "Template:Top/doc"
From Salem Wiki
(Initial setup) |
m (Protected "Template:Top/doc": Documentation of key-feature ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
#{{t|Top}}{{Top}} | #{{t|Top}}{{Top}} | ||
#{{t|Top|Description}}{{Top|Description}} | #{{t|Top|Description}}{{Top|Description}} | ||
− | #{{t|Top||you}}{{Top||you}} | + | #{{t|Top|<nowiki></nowiki>|you}}{{Top||you}} |
<includeonly>[[Category:Templates|{{PAGENAME}}]]<!-- Any categories for the template itself --> | <includeonly>[[Category:Templates|{{PAGENAME}}]]<!-- Any categories for the template itself --> | ||
[[Category:Templates/©TriMoon™|{{SUBPAGENAME}}]] | [[Category:Templates/©TriMoon™|{{SUBPAGENAME}}]] | ||
</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | </includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 18:45, 25 July 2012
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
- {{Top}}⇑ Back to top ⇑⇑ Back to top ⇑
- {{Top|Description}}⇑ Back to top ⇑⇑ Back to top ⇑
- {{Top||you}}⇑ Back to you ⇑⇑ Back to you ⇑