Difference between revisions of "Template:Question"

From CodeWOW
Jump to navigation Jump to search
 
(reorder)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Question
 
{{Question
 +
|Condition=
 +
|Guidance=
 
|Agent=
 
|Agent=
|Guidance=
 
 
|Action=
 
|Action=
|Condition=
 
 
|Goal=
 
|Goal=
 
|Source=
 
|Source=
Line 14: Line 14:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>{| class="wikitable"
 
</noinclude><includeonly>{| class="wikitable"
! Agent
+
! Condition
| [[Has agent::{{{Agent|}}}]]  
+
| {{#arraymap:{{{Condition|}}}|,|x|[[Has condition::x]]}}
 
|-
 
|-
 
! Guidance
 
! Guidance
 
| [[Has guidance::{{{Guidance|}}}]]  
 
| [[Has guidance::{{{Guidance|}}}]]  
 +
|-
 +
! Agent
 +
| [[Has agent::{{{Agent|}}}]]
 
|-
 
|-
 
! Action
 
! Action
 
| [[Do action::{{{Action|}}}]]  
 
| [[Do action::{{{Action|}}}]]  
|-
 
! Condition
 
| {{#arraymap:{{{Condition|}}}|,|x|[[Has condition::x]]}}
 
 
|-
 
|-
 
! Goal
 
! Goal

Revision as of 19:51, 5 April 2015

This is the "Question" template. It should be called in the following format:

{{Question
|Condition=
|Guidance=
|Agent=
|Action=
|Goal=
|Source=
}}

Edit the page to see the template text.