Template:Top: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (Xanderox moved page Template:Go to top to Template:Top: simpler to type)
m (small tweak to markup)
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]]]