Template:Purge: Difference between revisions

From PZwiki
(added doc & translatability)
m (Automated Formatting)
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{Documentation/sandbox|doc=
{{Documentation/sandbox|doc=
This template is used to add a link to purge the current page, clearing the cached page version, and forcing it to display the most recent changes.  
This template is used to add a link to purge the current page, clearing the cached page version, and forcing it to display the most recent changes.


This is useful for updating a transcluded template, or resetting a parser function.  
This is useful for updating a transcluded template, or resetting a parser function.


{{Translation guide|<syntaxhighlight lang="html">{{#switch: {{{1|}}}
{{Translation guide|<syntaxhighlight lang="html">{{#switch: {{{1|}}}

Latest revision as of 14:25, 14 April 2024

Notebook.pngTemplate Documentation

This template is used to add a link to purge the current page, clearing the cached page version, and forcing it to display the most recent changes.

This is useful for updating a transcluded template, or resetting a parser function.

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
| purge_desc = Purge this page
| purge = Purge
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.
Editors can experiment in this template's sandbox.