Support for Nested Modules

Edit | Tags | Source | Print

Posted 1253937032|%O ago by leigerleiger
If a second ListPages module could be used inside the first, it would greatly broaden the possibilities of what can be done using modules. Extend that further, and think about how useful it would be to use, for example, CountPages within ListPages.

Syntax

As part of a move towards allowing modules within other modules, should we start looking at syntax like this instead?

[[module ListSomething]]
...
[[module ListSomething]]
...
[[module CountPages]]
...
[[/module]]
[[/module]]
[[/module]]

Problems

Nesting could cause excess strain on Wikidot servers, and might need to be limited.

Add a New Comment