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:
You are able to do so by prepending the level to the context variable name, e. g. for TemplateFile?:
- restrict context effect to the main page (use level 0)
- restrict context effect to the direct subpages(use level 1)
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: