Difference between revisions of "Template:Code"
Jump to navigation
Jump to search
(revert to prev) |
(add Question field, and fix cases) |
||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Code | {{Code | ||
− | | | + | |Agent= |
− | | | + | |Guidance= |
− | | | + | |Action= |
− | | | + | |Condition= |
− | | | + | |Goals= |
− | | | + | |Source= |
+ | |Question= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 16: | Line 17: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Agent | ! Agent | ||
− | | [[Has agent::{{{ | + | | [[Has agent::{{{Agent|}}}]] |
|- | |- | ||
! Guidance | ! Guidance | ||
− | | [[Has guidance::{{{ | + | | [[Has guidance::{{{Guidance|}}}]] |
|- | |- | ||
! Action | ! Action | ||
− | | [[Do action::{{{ | + | | [[Do action::{{{Action|}}}]] |
|- | |- | ||
! Condition | ! Condition | ||
− | | {{#arraymap:{{{ | + | | {{#arraymap:{{{Condition|}}}|,|x|[[Has condition::x]]}} |
|- | |- | ||
! Goal | ! Goal | ||
− | | {{#arraymap:{{{ | + | | {{#arraymap:{{{Goal|}}}|,|x|[[In order to::x]]}} |
|- | |- | ||
! Source | ! Source | ||
− | | {{#arraymap:{{{ | + | | {{#arraymap:{{{Source|}}}|,|x|[[According to::x]]}} |
+ | |- | ||
+ | ! Question | ||
+ | | [[Answers question::{{{Question|}}}]] | ||
|} | |} | ||
− | [[Has agent::{{{ | + | [[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 [[Answers question::{{{Question|}}}]]. |
[[Category:Codes]] | [[Category:Codes]] | ||
</includeonly> | </includeonly> |
Revision as of 12:44, 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.