Template:Purge: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
mNo edit summary
imported>Sekoia
(More descriptive and accurate hover link)
 
Line 1: Line 1:
<span class="noprint plainlinks purgelink" title="Purge and update the contents of this page" style="font-size:{{{fontsize|.7em}}};{{{style|}}}">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=purge}} {{{text|(purge)}}}]</span><noinclude>{{documentation}}</noinclude>
<span class="noprint plainlinks purgelink" title="Purge Mediawiki's cache of this page to force it to display any recent changes to transcluded content" style="font-size:{{{fontsize|.7em}}};{{{style|}}}">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=purge}} {{{text|(purge)}}}]</span><noinclude>{{documentation}}</noinclude>

Latest revision as of 15:40, 10 January 2012

(purge)

[edit] [purge] Documentation

Usage

Use on cached pages where you might want to update the contents (e.g. times, mission listings, etc.) This will force a refresh of the cached data, and will reload the page.

Can be used by itself for a default look, or with the following parameters:

  • fontsize to change the size of the font; be sure to include px or em or whatever
  • style to change any other CSS styling of the font
  • page to specify a page (default is to purge the page the template is used on)
    • NOTE: clicking a link to purge a different page than the one the purge link is on will load that other page after purging
  • text to specify what you want the link text to say instead of "(purge)"

Examples

Code Output
  {{purge}}   (purge)
  {{purge|style=text-decoration:underline|page=Main Page}}     (purge)
  {{purge|text=Purge this page.}}   Purge this page.