Template:Expire/doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
<includeonly> | <includeonly> | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
[[Category:Maintenance templates]] | |||
</includeonly> | </includeonly> |
Latest revision as of 01:45, 24 April 2016
Used to hide content using an expiration date.
Usage
{{expire| YYYYMMDD | Content goes here }}
Where YYYYMMDD is the year + month + day where you want the content to disappear. For example, 20160423
would hide the "content goes here
" part after April 23rd, 2016.
If the content has an equals sign then you might need to use this alternative formatting:
{{expire| YYYYMMDD |2= Content goes here }}
You can place other templates within this template. For example:
{{expire| 20160423 | {{warning| Look out for falling rocks }} }}
Tracking
Pages using this template that have a pending expiration date will show up in Category:Content with an expiration date.
Pages using this template that have already expired will show up in Category:Expired content that needs to be removed.