Template:Expire
From Wikipedia, the free encyclopedia
{{{expText}}}
Contents |
[edit] Location
This template can be used anywhere that you want to add templates or other important text, but you want it to automatically be removed at a certain time (e.g., {{pp-semi-protected}} when semi-protection has expired). The text will automatically become invisible at that time, and a robot (currently ExpireBot) will be by to remove the template when the time comes around.
[edit] Usage
{{Expire |expText=Some text that you want to autoexpire |expDate=date stamp you want it to expire at, in utc }}
This template must be transcluded (that is, do not use "subst:"). If you subst: this template, it will work, the text will appear as normal, but the bot will not know that it needs to be expired, so it won't automatically be removed.
[edit] Examples
Automatically remove {{Current}}, the current event tag:
{{Expire |expText={{Current}} |expDate=15 January 2010 }}
Automatically remove {{pp-semi-protected}}, the semi-protection notice, after it expires:
{{Expire |expText={{pp-semi-protected}} |expDate=January 11, 2008 18:12 }}
[edit] Status
The bot is currently not active yet, so none of this will work. Please see User:ExpireBot for development information.