Difference between revisions of "Template:Scenario Task"

 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div style="display: none">
 
<div style="display: none">
 
+
__NOEDITSECTION__
 
{{#set: Scenario Task Name={{PAGENAME}} }}
 
{{#set: Scenario Task Name={{PAGENAME}} }}
  
 
{{#if: {{{Scenario Task Format|}}}|
 
{{#if: {{{Scenario Task Format|}}}|
{{#set: Scenario Task Type={{{Scenario Task Format}}} }}
+
{{#set: Scenario Task Format={{{Scenario Task Format}}} }}
 
}}
 
}}
  
Line 13: Line 13:
  
 
{{#if: {{{Scenario Task Type|}}}|
 
{{#if: {{{Scenario Task Type|}}}|
{{#arraymap:{{{Scenario Task Type}}}|,||{{#set:Scenario Task Type=}} |<nowiki> </nowiki>}}
+
{{#arraymap:{{{Scenario Task Type}}}|,||{{#set:Scenario Task Type=}} |<nowiki> </nowiki>}}
 
}}
 
}}
  
 
{{ #if: {{{Scenario Task Parent|}}}|
 
{{ #if: {{{Scenario Task Parent|}}}|
{{#arraymap:{{{Scenario Task Parent}}}|,||{{#set:Scenario Task Parent=}} |<nowiki> </nowiki>}}
+
{{#arraymap:{{{Scenario Task Parent}}}|,||{{#set:Scenario Task Parent=}} |<nowiki> </nowiki>}}
 
|[[Category:Top Level Scenario Task]]
 
|[[Category:Top Level Scenario Task]]
 
}}
 
}}
  
{{ #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]]
 
}}
 
}}
 
</div>
 
</div>
 +
 +
{{ #if: {{{Scenario Task Format|}}}|{{{Scenario Task Format}}} }}{{#if: {{{Scenario Task Type|}}}|{{ #if: {{{Scenario Task Format|}}}| - }} {{#arraymap:{{{Scenario Task Type}}}|,|�|[[�]] |<nowiki> </nowiki>}}
 +
}}
 +
{{ #if: {{{Scenario Tools and Services|}}}|<br />Tools and Services: {{#arraymap:{{{Scenario Tools and Services|}}}|,|%�|[[Scenario Tools and Services::%�]]}} }}
 +
 +
{{{Scenario Task Description|}}}
  
 
{{ #if: {{{Scenario Task Parent|}}}|
 
{{ #if: {{{Scenario Task Parent|}}}|
Parent: [[{{{Scenario Task Parent}}}]]  
+
* Parent: {{Scenario Task Parents|{{{Scenario Task Parent}}} }}
 +
}}{{ #if: {{#var: subtasks }}|
 +
 
 +
<h3> From here … </h3>
 +
{{ #ask: [[Scenario Task Parent::{{PAGENAME}}]]|format=ul }}
 
}}
 
}}
  
Sub Tasks: {{#var: subtasks }} {{#forminput:form=Scenario Task|button text=Add Sub-task|query string=Scenario Task[Scenario Task Parent]={{PAGENAME}} }}
+
----
 +
 
 +
{{#forminput:form=Scenario Task|button text=Add Sub-task|query string=Scenario Task[Scenario Task Parent]={{PAGENAME}} }}
 +
 
 +
{{ #ask: [[Base Page::{{PAGENAME}}]]|?Base Page|?Language|?Modification date|intro=Translations}}
  
 
[[Category:Scenario Task]]
 
[[Category:Scenario Task]]

Latest revision as of 15:53, 25 November 2015