Template:Expire/doc: Difference between revisions
Jump to navigation
Jump to search
m Ned Scott moved page Template:Expired notice/doc to Template:Expire/doc |
|||
| Line 9: | Line 9: | ||
<code><nowiki>{{expire| YYYYMMDD |2= Content goes here }}</nowiki></code> | <code><nowiki>{{expire| YYYYMMDD |2= Content goes here }}</nowiki></code> | ||
You can place other templates within this template. For example: | |||
<code><nowiki>{{expire| 20160423 | {{warning| Look out for falling rocks }} }}</nowiki></code> | |||
<includeonly> | <includeonly> | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 08:56, 23 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 }} }}