Context Variable / Context Levels
ContextVariables typically work for a branch (a page and its subpages) of a wiki.
Sometimes this is not what you want. You need to restrict the context you define to a certain level:
- restrict context effect to the main page (use level 0)
- restrict context effect to the direct subpages(use level 1)
- ...
You are able to do so by prepending the level to the context variable name, e. g. for TemplateFile?:
- 0.TemplateFile=template_buecher.txt
- 2.TemplateFile=template_buecher.txt
Ok, lets define it that way in our
When we now go through all levels, we should find this change active only at a certain levels:
|