Template:Citizen science project query: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
<nowiki>
<nowiki>
{{#ifexist:{{{field_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]]|[[Has infrastructure::+]]}}
{{#ifexist:{{{field_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]]|[[Has infrastructure::+]]}}
 
{{#ifexist:{{{field_software|}}}|{{#arraymap:{{{field_software|}}}|,|x|[[developed with::x]]}}|[[developed with::+]]}}


</nowiki>
</nowiki>
Line 13: Line 13:
{{#if:{{{field_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]] }}
{{#if:{{{field_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]] }}
{{#if:{{{field_cs_subject_areas|}}}|{{#arraymap:{{{field_cs_subject_areas|}}}|,|x|[[Has citizen science subject area::x]]}} }}
{{#if:{{{field_cs_subject_areas|}}}|{{#arraymap:{{{field_cs_subject_areas|}}}|,|x|[[Has citizen science subject area::x]]}} }}
{{#ifexist:{{{field_software|}}}|{{#arraymap:{{{field_software|}}}|,|x|[[developed with::x]]}}|[[developed with::+]]}}
{{#if:{{{field_software|}}}|{{#arraymap:{{{field_software|}}}|,|x|[[developed with::x]]}} }}
{{#if:{{{field_volonteer_computing|}}}|[[Has volonteer computing::{{{field_volonteer_computing|}}}]]}}
{{#if:{{{field_volonteer_computing|}}}|[[Has volonteer computing::{{{field_volonteer_computing|}}}]]}}
{{#if:{{{field_volonteer_thinking|}}}|[[Has volonteer thinking::{{{field_volonteer_thinking|}}}]] }}
{{#if:{{{field_volonteer_thinking|}}}|[[Has volonteer thinking::{{{field_volonteer_thinking|}}}]] }}
Line 21: Line 21:
|? Has project name
|? Has project name
|? Has infrastructure
|? Has infrastructure
|? Developed with
|? Has citizen science subject area
|? Has citizen science subject area
|format=debug
|format=debug
}}
}}
</includeonly>
</includeonly>

Revision as of 20:45, 20 November 2013

This template is use with the form:Citizen science project query

Testing clauses (should be removed later) {{#ifexist:{{{field_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]]|[[Has infrastructure::+]]}} {{#ifexist:{{{field_software|}}}|{{#arraymap:{{{field_software|}}}|,|x|[[developed with::x]]}}|[[developed with::+]]}}