Difference between revisions of "Template:Code"
Jump to navigation
Jump to search
(add Question field, and fix cases) |
(switch property to arraymap, in order to allow multiple Questions for each Code) |
||
Line 35: | Line 35: | ||
|- | |- | ||
! Question | ! Question | ||
− | | | + | | {{#arraymap:{{{Question|}}}|,x|[[Answers question::x]]}} |
|} | |} | ||
− | [[Has agent::{{{Agent|}}}]] [[Has guidance::{{{Guidance|}}}]] [[Do action::{{{Action|}}}]] [[Has condition::{{#arraymap:{{{Condition|}}}|,|x|[[Has condition::x]]}} in order to {{#arraymap:{{{Goal|}}}|,|x|[[In order to::x]]}} according to {{#arraymap:{{{Source|}}}|,|x|[[According to::x]]}}, answering the question | + | [[Has agent::{{{Agent|}}}]] [[Has guidance::{{{Guidance|}}}]] [[Do action::{{{Action|}}}]] [[Has condition::{{#arraymap:{{{Condition|}}}|,|x|[[Has condition::x]]}} in order to {{#arraymap:{{{Goal|}}}|,|x|[[In order to::x]]}} according to {{#arraymap:{{{Source|}}}|,|x|[[According to::x]]}}, answering the question {{#arraymap:{{{Question|}}}|,x|[[Answers question::x]]}}. |
[[Category:Codes]] | [[Category:Codes]] | ||
</includeonly> | </includeonly> |
Revision as of 12:47, 8 April 2015
This is the "Code" template. It should be called in the following format:
{{Code |Agent= |Guidance= |Action= |Condition= |Goals= |Source= |Question= }}
Edit the page to see the template text.