Difference between revisions of "Template:To top"
m (now matches font size of [edit] link.) |
(updated Template with german translation) |
||
Line 1: | Line 1: | ||
<span style="float:right; font-size:70%; {{{style|}}}">[[[{{{page|}}}#top|{{lang | <span style="float:right; font-size:70%; {{{style|}}}">[[[{{{page|}}}#top|{{lang | ||
+ | | de = ↑ Zum Seitenanfang | ||
| en = ↑ to top | | en = ↑ to top | ||
}}]]]</span><noinclude> | }}]]]</span><noinclude> | ||
Line 12: | Line 13: | ||
=== Other parameters === | === Other parameters === | ||
+ | {{translation switching|de}} | ||
* You can also define a set page with '{{code|page}}', however, in most circumstances this is not needed. | * You can also define a set page with '{{code|page}}', however, in most circumstances this is not needed. | ||
* Additional CSS style attributes can be passed to the inner span tag with the parameter '{{code|style}}'. | * Additional CSS style attributes can be passed to the inner span tag with the parameter '{{code|style}}'. |
Revision as of 22:25, 14 January 2011
[↑ to top]
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:To top/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: none (add) |
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
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:To top/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: de (add) |
- 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
'.