]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/inline_plugin:_specifying_ordered_page_names.mdwn
update; openid email addresses now available so this is unblocked
[ikiwiki.git] / doc / todo / inline_plugin:_specifying_ordered_page_names.mdwn
1 A [[!taglink patch]] in my git repository (the inline-pagenames branch) adds
2 the following parameter to the [[ikiwiki/directive/inline]] directive:
3
4 > * `pagenames` - If given instead of `pages`, this is interpreted as a
5 >    space-separated list of links to pages (with the same
6 >   [[ikiwiki/SubPage/LinkingRules]] as in a [[ikiwiki/WikiLink]]), and they are inlined
7 >   in exactly the order given: the `sort` and `pages` parameters cannot be used
8 >   in conjunction with this one.
9
10 This is on my [[wishlist]] for my [[plugins/contrib/album]] plugin, which currently
11 uses it internally (as it has already collected the pages in order). It could also
12 be useful for other things, like [[todo/wikitrails]]. --[[smcv]]
13
14 [[!tag plugins/inline]]
15
16 > It's sort of a pity that a pagespec like "a or b or c" doesn't somehow
17 > match to (a, b, c) in that order, but I don't see how that would be
18 > generally possible. While this feels a bit like bloat and inline already
19 > has far too many parameters, I have [[merged|done]] it. --[[Joey]]