Template:Go to top/doc

From W9CR
Jump to navigation Jump to search

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Go to top
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Description

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

   [top]

The link floats on the right side of the page and appears as shown here.

The template inserts the following HTML code:

<div style="float: right;">   [[#top|[top]]]</div>