|
|||
(21 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 10: | Regel 10: | ||
</pre> |
</pre> |
||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
− | </noinclude><includeonly> |
+ | </noinclude><includeonly>{{#vardefine:pagename|{{{1}}}}}{{#vardefine:topcontext|{{{userparam}}}}}{{#vardefine:bronLC|{{#if:{{#ask: [[Category:Light Context]] [[{{#var:pagename}}]] | link=none}}|1|0}}}}{{#vardefine:bronPr|{{#if:{{#ask: [[Category:Project]] [[{{#var:pagename}}]] | link=none}}|1|0}}}}{{#ifexpr: {{#var:bronLC}}|{{#autoedit:target={{#var:pagename}}|form=Light Context|link text=Update Light Context: {{#show:{{#var:pagename}}|?Semantic title}} ({{#var:pagename}})|link type=link|query string=Light Context[Topcontext]={{#var:topcontext}}}}|{{#ifexpr: {{#var:bronPr}}|{{#autoedit:target={{#var:pagename}}|form=Project|link text=Update Project: {{#show:{{#var:pagename}}|?Semantic title}} ({{#var:pagename}})|link type=link|query string=Project[Topcontext]={{#var:topcontext}}}}|Not a proper page}} }} |
− | {{#vardefine:pagename|{{{1}}}}} |
||
− | 1 = {{#var:pagename}} |
||
− | |||
</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.