|
|
(47 tussenliggende versies door dezelfde gebruiker niet weergegeven) |
Regel 1: |
Regel 1: |
− |
{{#ask: [[Topcontext::PR_SSM_00131]]
|
+ |
== Move Tree == |
− |
| format=tree
|
|
− |
| parent=Supercontext
|
|
− |
| root=PR_SSM_00131
|
|
− |
}}
|
|
|
|
|
|
− |
{{#vardefine:source|PR_00174}}
|
+ |
Move a tree with a Light Context or Project as root to a Light Context, Project or Program. |
− |
<!-- {{#vardefine:target|PR_SSM_00134}} -->
|
|
− |
{{#vardefine:target|LC_00646}}
|
|
|
|
|
|
− |
<!-- check if source is a Light Context or a Project -->
|
+ |
{{#queryformlink:form=Move Tree|link text=Move Tree|Move Tree[pagename]={{PAGENAME}}}} |
− |
{{#vardefine:go_on|{{#if:{{#ask: [[Category:Project||Light Context]] [[{{#var:source}}]] | link=none}}|1|0}}}}
|
|
− |
|
|
− |
go on = {{#var:go_on}}, Light Context or Project
|
|
− |
|
|
− |
<!-- check if target is Light Context then source must be a Light Context a well -->
|
|
− |
{{#vardefine:sourceLC|{{#if:{{#ask: [[Category:Light Context]] [[{{#var:source}}]] | link=none}}|1|0}}}}
|
|
− |
{{#vardefine:targetLC|{{#if:{{#ask: [[Category:Light Context]] [[{{#var:target}}]] | link=none}}|1|0}}}}
|
|
− |
|
|
− |
source LC = {{#var:sourceLC}} <br />
|
|
− |
target LC = {{#var:targetLC}}
|
|
− |
|
|
− |
{{#vardefine:go_on|{{#expr: {{#var:go_on}} and (not {{#var:targetLC}} or {{#var:sourceLC}})}}}} |
|
− |
|
|
− |
go on = {{#var:go_on}}, Light Context target implies Light Context source
|
|
Huidige versie van 30 dec 2017 om 20:51
Move Tree
Move a tree with a Light Context or Project as root to a Light Context, Project or Program.
Move Tree