Template:Auto change
From Wikipedia, the free encyclopedia
This template is intended to add information to a page after a certain amount of time has passed or at a specific date and time.
[edit] Usage
This template must be substituted.
{{subst:auto change |time= |before= |after= |purgelink= |linebreak= }}
- Required field(s)
|before : The information to be shown before the deadline. Default is nothing.
- and/or
|after : The information to be shown after the deadline. Default is nothing.
- Optional fields
|time : The amount of time you wish to go before adding the information, or a specific date and time. Default is +7 days. For examples, see ParserFunctions #time (second variable).
|purgelink : Set to |purgelink=yes
to add a purgelink to the right of where the template is substituted. This can be useful to refresh the page (see below). Default is disabled.
|linebreak : Set to |linebreak=yes
to add <br clear="right" />
between the purgelink and the rest of the template. Only works if "purgelink" is enabled. Default is disabled.
[edit] Example
{{subst:auto change |time=6 hours |before='''n00b''' |after='''1337''' }}
will result in "n00b" 0–5.99 hours after the template was added, and in "1337" 6— hours after the template was added.
[edit] Limitation
Changes made when the function passes the deadline may not be visible at first, then a purge may be needed.