Need an @Parent@ Variable
There are times when a template needs to reference a @PARENT@, not just a @PAGE@.
It's especially valuable when creating a sibling page, not a child page:
[[NewPage(P3Template,Add a new X,@PARENT@)]]
This template would be instantiated with the invoking page's parent being instance parent, not the invoking page being the page parent.
Is this feasible?
What should it return for top-level pages? -- RadomirDopieralski 2006-01-17 19:38:04
- -- The root page I would imagine --anon
may be a duplicate of FeatureRequests/NewPageCreatesSubpageOnSelf