]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/contrib/created_in_future.mdwn
Merge branch 'ready/postform-no'
[ikiwiki.git] / doc / plugins / contrib / created_in_future.mdwn
1 [[!meta author="spalax"]]
2 [[!template id=plugin name="created_in_future (deprecated)" author="[[Louis|spalax]]"]]
3
4 # Created_in_future
5
6 This plugin is deprecated, and can be replaced by function `cdate_geq_today()` in plugin [[datetime_cmp|plugins/contrib/datetime_cmp]].
7
8 [[!toggle id=old text="Show/Hide old documentation"]]
9
10 [[!toggleable id=old text="""
11 # Created_in_future
12
13 This plugin provides a `created_in_future()` [[PageSpec|ikiwiki/pagespec/]]
14 function. It matches pages which have a creation date in the future.
15
16 It also sets the date of the next modification of the page on its creation
17 date, so that the corresponding page (and the pages referring to it) will be
18 rebuilt on the relevant call of `ikiwiki`.
19
20 ## Usage
21
22 It can be used to display a list of upcoming events.
23
24         \[[!inline pages="events/* and created_in_future()" reverse=yes sorted=meta(date)]]
25
26 ## Code
27
28 Code and documentation this way: [[https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Created_in_future]].
29 """]]