Difference between revisions of "Template:Question"

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

Revision as of 18:05, 6 April 2015

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

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

Edit the page to see the template text.