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