Difference between revisions of "Template:To top"

From Team Fortress Wiki
Jump to: navigation, search
(new)
 
Line 1: Line 1:
<span style="float:right; font-size:90%; {{{style|}}}">&#91;&#91;[[{{{page|}}}#top|{{lang
+
<span style="float:right; font-size:100%; {{{style|}}}">&#91;&#91;[[{{{page|}}}#top|{{lang
 
  | en = &uarr; to top
 
  | en = &uarr; to top
 
  }}]]&#93;&#93;</span><noinclude>
 
  }}]]&#93;&#93;</span><noinclude>
Line 7: Line 7:
  
 
=== Usage ===
 
=== Usage ===
* <code>== Header {&#123;to top}} ==</code> generates
+
<code>== Header {&#123;to top}} ==</code> generates
  
 
== Header {{to top}} ==
 
== Header {{to top}} ==
Line 16: Line 16:
  
 
[[Category:Formatting templates|To top]]
 
[[Category:Formatting templates|To top]]
[[Category:Link templates|To top]]
+
[[Category:Link insertion templates|To top]]
 
</noinclude>
 
</noinclude>

Revision as of 22:04, 14 January 2011

[[↑ to top]]

Documentation for To top

This template creates a small "[↑ to top]" link near the "[edit]" link to aid navigation on long pages. This template is intended to be used inside header and subheader tags only. A normal in-line link to the top of the page can be simply created by using the code "Link here".

Usage

== Header {{to top}} == generates

Header [↑ to top]

Other parameters

  • You can also define a set page with 'page', however, in most circumstances this is not needed.
  • Additional CSS style attributes can be passed to the inner span tag with the parameter 'style'.