Difference between revisions of "Template:Code"

From CodeWOW
Jump to navigation Jump to search
(change cases)
(update description to include current design)
Line 32: Line 32:
 
! Source
 
! Source
 
| {{#arraymap:{{{source|}}}|,|x|[[According to::x]]}}
 
| {{#arraymap:{{{source|}}}|,|x|[[According to::x]]}}
|-
 
!
 
| {{#ask:[[According to::{{SUBJECTPAGENAME}}]]|format=list}}
 
 
|}
 
|}
{{#ask:[[according to::{{SUBJECTPAGENAME}}]]|format=list}}
 
  
[[Has agent::{{{agent|You}}}]] [[Has guidance::{{{guidance|should}}}]] [[Do action::{{{action|do}}}]] [[Has condition::{{{condition|generally}}}]] in order to [[In order to::{{{goal|succeed}}}]] according to [[According to::{{{source|CodeWOW participants}}}]].
+
[[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 19:01, 5 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.