Difference between revisions of "Template:To top"
(new) |
m |
||
(19 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
− | <span style="float:right; font-size: | + | <span style="float:right; font-size:70%; {{{style|}}}">[[[{{{page|}}}#top|{{lang |
− | | en = ↑ | + | | es = ↑ Arriba |
− | }}]] | + | | ar = ↑ إلى أعلى |
− | {{translation switching| | + | | de = ↑ Zum Seitenanfang |
+ | | en = ↑ to top | ||
+ | | it = ↑ in cima | ||
+ | | fr = ↑ au début | ||
+ | | no = ↑ til toppen | ||
+ | | pl = ↑ do góry | ||
+ | | pt = ↑ ao cimo | ||
+ | | pt-br = ↑ ao topo | ||
+ | | ru = ↑ наверх | ||
+ | | zh-hans = 回到顶部 | ||
+ | | zh-hant = 回至頁首 | ||
+ | }}]]]</span><noinclude> | ||
+ | {{translation switching|en, ar, de, es, fr, it, no, pl, pt, pt-br, ru, zh-hans, zh-hant}} | ||
{{doc begin}} | {{doc begin}} | ||
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 "{{code|[[#top|Link here]]}}". | 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 "{{code|[[#top|Link here]]}}". | ||
=== Usage === | === Usage === | ||
− | + | <code><nowiki>== Header {{to top}} ==</nowiki></code> generates | |
== Header {{to top}} == | == Header {{to top}} == | ||
Line 16: | Line 28: | ||
[[Category:Formatting templates|To top]] | [[Category:Formatting templates|To top]] | ||
− | [[Category:Link templates|To top]] | + | [[Category:Link insertion templates|To top]] |
</noinclude> | </noinclude> |
Latest revision as of 13:05, 8 February 2022
[↑ 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: en, ar, de, es, fr, it, no, pl, pt, pt-br, ru, zh-hans, zh-hant (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
- 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
'.