Difference between revisions of "Template:Code"
Jump to navigation
Jump to search
(add query) |
(testing formatting) |
||
Line 14: | Line 14: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
+ | {| class="wikitable" | ||
+ | ! Agent | ||
+ | | [[Has agent::{{{agent|}}}]] | ||
+ | |- | ||
+ | ! Guidance | ||
+ | | [[Has guidance::{{{guidance|}}}]] | ||
+ | |- | ||
+ | ! Action | ||
+ | | [[Do action::{{{action|}}}]] | ||
+ | |- | ||
+ | ! Condition | ||
+ | | {{#arraymap:{{{Condition|}}}|,|x|[[Has condition::x]]}} | ||
+ | |- | ||
+ | ! Goal | ||
+ | | {{#arraymap:{{{Goals|}}}|,|x|[[In order to::x]]}} | ||
+ | |- | ||
+ | ! Source | ||
+ | | {{#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|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}}}]]. | ||
− | + | ||
[[Category:Codes]] | [[Category:Codes]] | ||
</includeonly> | </includeonly> |
Revision as of 18:55, 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.