Difference between revisions of "Template:Top"

From SGUTranscripts
Jump to navigation Jump to search
m (dropping the float)
m (small tweak to markup)
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
The template <nowiki>{{top}}</nowiki> inserts an intra-page link to the top of the page.  
 
The template <nowiki>{{top}}</nowiki> 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 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>
+
<pre>[[#top|[top]]]</pre>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:16, 10 September 2020

[top]


Description

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

The link appears as shown above.

The template inserts the following HTML code:

[[#top|[top]]]