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
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is use with the <code>form:Citizen science project query</code>
<noinclude>This template is use with the <code>form:Citizen science project query</code>
</noinclude><includeonly>{{#ask:[[category:citizen science project]]
 
{{#if:{{{field_infrastructure|}}}|[[Has Infrastructure::{{{field_infrastructure|}}}]]}}
Testing clauses (should be removed later)
{{#if:{{{field_field_software|}}}|[[Developed with::{{#arraymap:{{{field_software|}}]]}}
<source lang="bibtex">
The 2 following ones are useless, since we don't care if these properties are not there or not set...
{{#ifexist:{{{field_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]]|[[Has infrastructure::+]]}}
{{#ifexist:{{{field_software|}}}|{{#arraymap:{{{field_software|}}}|,|x|[[developed with::x]]}}|[[developed with::+]]}}
Debugging:
|format=debug
</source>
</noinclude>
 
<includeonly>{{cs-portal-logo}}Here are your query results. Using the form at the end of the page, you can enter a new query.
<br clear="all"/>
{{#ask:[[category:citizen science project]]
{{#if:{{{field_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]] }}
{{#ifeq:{{{field_cs_subject_areas|}}}|N/A||[[Has citizen science subject area::{{{field_cs_subject_areas|}}}]] }}
{{#if:{{{field_software|}}}|{{#arraymap:{{{field_software|}}}|,|x|[[developed with::x]]}} }}
{{#if:{{{field_volonteer_computing|}}}|[[Has volonteer computing::{{{field_volonteer_computing|}}}]]}}
{{#if:{{{field_volonteer_thinking|}}}|[[Has volonteer thinking::{{{field_volonteer_thinking|}}}]] }}
{{#if:{{{field_volonteer_sensing|}}}|[[Has volonteer sensing::{{{field_volonteer_sensing|}}}]] }}
{{#if:{{{field_volonteer_gaming|}}}|[[Has volonteer gaming::{{{field_volonteer_gaming|}}}]] }}
| mainlabel=Project name
| mainlabel=Project name
|? Has Infrastructure
|? Has project name=Project name
|? Has infrastructure=Infrastructure
|? Developed with=Software
|? Has citizen science subject area=CS subject area
}}
}}
</includeonly>
</includeonly>

Latest revision as of 12:54, 29 November 2013

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

Testing clauses (should be removed later)

The 2 following ones are useless, since we don't care if these properties are not there or not set...
{{#ifexist:{{{field_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]]|[[Has infrastructure::+]]}}
{{#ifexist:{{{field_software|}}}|{{#arraymap:{{{field_software|}}}|,|x|[[developed with::x]]}}|[[developed with::+]]}}
Debugging:
|format=debug