ListPages is the new Include, except that as such it has serious shortcomings that are never going to be addressed. ListPages will never be nestable, whereas Include is often nested several layers deep. Meanwhile more features are being added to Wikidot all the time and Include is being left behind.
What I am suggesting is that Include takes a block structure like ListPages, with all the features that allows.
[[include mypage |var=value]]
+ %%title%%
%%content[2]%%
Edited at %%updated_at%% by %%updated_by_linked%%
[[/include]]
It should be possible to leverage the existing ListPages or live template code, or at least parts of it to implement this, and as a result both Include and ListPages will profit from future enhancements.
Just as the current ListPages module is backwards compatible by allowing a single-line variant, so would Include be.
This would definitely solve one of my long-standing problems… as long as "mypage" could be replaced by a ListPages variable if it is inserted into the body of a ListPages module.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
That would also solve my wish, beeing able to include only certain parts of a page. Described in Wish 356
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.