Template:Go to top/doc

From W9CR
< Template:Go to top
Revision as of 21:07, 31 July 2022 by Admin2 (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>