Difference between revisions of "Template:Scenario Task"
Line 21: | Line 21: | ||
}} | }} | ||
− | {{ #vardefine: | + | {{ #vardefine: subtasks|{{ #ask: [[Scenario Task Parent::{{PAGENAME}}]]}} }} |
− | {{ #if: {{ #var: | + | {{ #if: {{ #var: subtasks }}| |
|[[Category:Scenario Task End Point]] | |[[Category:Scenario Task End Point]] | ||
}} | }} | ||
Line 29: | Line 29: | ||
{{ #if: {{{Scenario Task Parent|}}}| | {{ #if: {{{Scenario Task Parent|}}}| | ||
− | [[{{{Scenario Task Parent}}}]] | + | Parent: [[{{{Scenario Task Parent}}}]] |
}} | }} | ||
− | + | Sub Tasks: {{#var: subtasks }} {{#forminput:form=Scenario Task|button text=Add Sub-task|query string=Scenario Task[Scenario Task Parent]={{PAGENAME}} }} | |
[[Category:Scenario Task]] | [[Category:Scenario Task]] |