Difference between revisions of "Template:Code"

From CodeWOW
Jump to navigation Jump to search
(upcase properties)
(revert to prev)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Code
 
{{Code
|Agent=
+
|agent=
|Guidance=
+
|guidance=
|Action=
+
|action=
|Condition=
+
|condition=
|Goals=
+
|goals=
|Source=
+
|source=
 
}}
 
}}
 
</pre>
 
</pre>
Line 16: Line 16:
 
{| class="wikitable"
 
{| class="wikitable"
 
! Agent
 
! Agent
| [[Has agent::{{{Agent|}}}]]  
+
| [[Has agent::{{{agent|}}}]]  
 
|-
 
|-
 
! Guidance
 
! Guidance
| [[Has guidance::{{{Guidance|}}}]]  
+
| [[Has guidance::{{{guidance|}}}]]  
 
|-
 
|-
 
! Action
 
! Action
| [[Do action::{{{Action|}}}]]  
+
| [[Do action::{{{action|}}}]]  
 
|-
 
|-
 
! Condition
 
! Condition
| {{#arraymap:{{{Condition|}}}|,|x|[[Has condition::x]]}}
+
| {{#arraymap:{{{condition|}}}|,|x|[[Has condition::x]]}}
 
|-
 
|-
 
! Goal
 
! Goal
| {{#arraymap:{{{Goal|}}}|,|x|[[In order to::x]]}}
+
| {{#arraymap:{{{goal|}}}|,|x|[[In order to::x]]}}
 
|-
 
|-
 
! Source
 
! Source
| {{#arraymap:{{{Source|}}}|,|x|[[According to::x]]}}
+
| {{#arraymap:{{{source|}}}|,|x|[[According to::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]]}}.
+
[[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]]}}.
  
 
[[Category:Codes]]
 
[[Category:Codes]]
 
</includeonly>
 
</includeonly>

Revision as of 12:34, 8 April 2015

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

{{Code
|agent=
|guidance=
|action=
|condition=
|goals=
|source=
}}

Edit the page to see the template text.