Regel 14: | Regel 14: | ||
1 = {{#var:pagename}} <br /> |
1 = {{#var:pagename}} <br /> |
||
userparam = {{{userparam}}} |
userparam = {{{userparam}}} |
||
+ | |||
+ | {{#vardefine:sourceLC|{{#if:{{#ask: [[Category:Light Context]] [[{{#var:pagename}}]] | link=none}}|1|0}}}} |
||
+ | {{#vardefine:sourcePr|{{#if:{{#ask: [[Category:Project]] [[{{#var:pagename}}]] | link=none}}|1|0}}}} |
||
+ | |||
+ | {{#ifexpr: {{#var:sourceLC}} | |
||
+ | Light Context | |
||
+ | {{#ifexpr: {{#var:sourcePr}} | |
||
+ | Project | |
||
+ | Not a proper page |
||
+ | }} }} |
||
</includeonly> |
</includeonly> |
This is the "Set Topcontext" template. It should be called in the following format:
{{Set Topcontext |Page= |Topcontext= }}
Edit the page to see the template text.