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