Jump to content

Template:Purge: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
m 1 revision
format anchor automatically. couldn't find a way to keep the hash symbol inside the #if:, but it does no harm outside anyway.
Line 1: Line 1:
<span class="noprint plainlinks">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=purge}} <span title="Purge this page">{{{1|Purge}}}</span>]</span><noinclude>
<span class="noprint plainlinks purgelink">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=purge}}#{{#if:{{{anchor|}}}|{{urlencode:{{{anchor|}}}|WIKI}}}} <span title="Purge this page">{{{1|Purge}}}</span>]</span><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 20:57, 7 August 2013

Purge

Documentation icon Template documentation[view] [edit] [history] [purge]

Use this template to purge any page on the wiki. See the following examples for how to use it:

Code Yields Result
{{purge}} Purge Creates a purge link for the page it is used on.
{{purge|Purge the cache}} Purge the cache Creates a purge link for the page it is used on, but with the text "Purge the cache"
{{purge|page=Main Page}} Purge Creates a purge link for Main Page.
{{purge|Purge the cache|page=Main Page}} Purge the cache Creates a purge link for Main Page, but with the text "Purge the cache"