Difference between revisions of "Template:Scenario Task"

Line 23: Line 23:
 
{{ #vardefine: subtasks|{{ #ask: [[Scenario Task Parent::{{PAGENAME}}]]}} }}
 
{{ #vardefine: subtasks|{{ #ask: [[Scenario Task Parent::{{PAGENAME}}]]}} }}
  
{{ #if: {{ #var: subtasks }}|
+
{{ #if: {{ #var: subtasks }}|<!-- not an end point -->
 
|[[Category:Scenario Task End Point]]
 
|[[Category:Scenario Task End Point]]
 
}}
 
}}
Line 33: Line 33:
  
 
{{ #if: {{#var: subtasks }}|
 
{{ #if: {{#var: subtasks }}|
Sub Tasks: {{#var: subtasks }}
+
{{ #ask: [[Scenario Task Parent::{{PAGENAME}}]]|format=template|template=Scenario Task Subtasks }}
 
}}
 
}}
  

Revision as of 23:12, 24 August 2015