Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Purge/doc"

From Paragon Wiki Archive
Jump to: navigation, search
(Purge)
 
m (Examples)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
== Usage ==
 
== Usage ==
Use on cached pages where you might want to update the contents (e.g. times, mission listings, etc.)
+
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:
 
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
+
* '''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
 
* '''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)
 
* '''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)"
 
* '''text''' to specify what you want the link text to say instead of "(purge)"
  
Line 17: Line 18:
 
! Code || Output
 
! Code || Output
 
|-
 
|-
| '''<nowiki>{{purge}}</nowiki>''' || {{purge}}
+
| &nbsp; <nowiki>{{purge}}</nowiki> || &nbsp; {{purge}}
 
|-
 
|-
| '''<nowiki>{{purge|style=font-weight:bold|page=Main Page}}</nowiki>''' || {{purge|style=font-weight:bold|page=Main Page}}
+
| &nbsp; <nowiki>{{purge|style=text-decoration:underline|page=Main Page}}</nowiki> &nbsp; || &nbsp; {{purge|style=text-decoration:underline|page=Main Page}}
 
|-
 
|-
| '''<nowiki>{{purge|text=Purge this page.}}</nowiki>''' || {{purge|text=Purge this page.}}
+
| &nbsp; <nowiki>{{purge|text=Purge this page.}}</nowiki> || &nbsp; {{purge|text=Purge this page.}} &nbsp;
 
|}
 
|}
 
<includeonly><!--
 
<includeonly><!--

Latest revision as of 03:43, 10 January 2012

This is a documentation subpage for Template:Purge (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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.