Template:Top: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (dropping the float)
m (Protected "Template:Top": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[#top|[top]]]
<div style="float:right">[[#top|[top]]]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div><noinclude>
 
<noinclude>
===Description===
===Description===
The template <nowiki>{{top}}</nowiki> inserts an intra-page link to the top of the page.  
The template <code><nowiki>{{top}}</nowiki></code> inserts an intra-page link to the top of the page.  


The link floats on the right side of the page and appears as shown here.
The link appears floating to the center-right, as shown above.


The template inserts the following HTML code:
The template inserts the following HTML code:
<pre><div style="float: right;">&nbsp;&nbsp;&nbsp;[[#top|[top]]]</div></pre>
<code><nowiki>[[#top|[top]]]</nowiki></code>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 06:19, 2 May 2024

[top]                        

Description

The template {{top}} inserts an intra-page link to the top of the page.

The link appears floating to the center-right, as shown above.

The template inserts the following HTML code: [[#top|[top]]]