Template:Purge/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:42, 17 October 2024 (Created page with "{{Documentation}} Place this template on a page that uses any sort of time based parser to display information to allow readers to see up to date information. It includes its own anchor (<code>#res</code>) so that clicking the link will take the reader right back to where they clicked it. By default, the tag used will be a <code>small</code> tag (but can be changed), and the link will be an in-place style purge (uses javascript to purge via the API and reload the page)..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Purge.
It contains usage information, categories, and other content that is not part of the original template page.

Place this template on a page that uses any sort of time based parser to display information to allow readers to see up to date information. It includes its own anchor (#res) so that clicking the link will take the reader right back to where they clicked it. By default, the tag used will be a small tag (but can be changed), and the link will be an in-place style purge (uses javascript to purge via the API and reload the page) (but can be suppressed to purge via ?action=purge instead, which requires a confirmation).

Usage

{{Purge|optional text|tag=(optional) <small> by default|noinplace=(optional) suppress in-place purging|hover=(optional) input custom mouse-over text}}

Examples

This week's featured Distraction and Diversion is Evil Tree.<sup>{{Purge}}</sup>

This week's featured Distraction and Diversion is Evil Tree.(update)

This week's featured Distraction and Diversion is Evil Tree. Click {{Purge|here|tag=span}} to purge the page.

This week's featured Distraction and Diversion is Evil Tree. Click here to purge the page.

This week's featured Distraction and Diversion is Evil Tree. Click {{Purge|here|tag=span|noinplace=true}} to purge the page via ?action=purge.