Template:Expire

From Official Kodi Wiki
Jump to navigation Jump to search

{{{2}}}

[edit] Template documentation

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.