Template:Citizen science project query: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
(Created page with "<noinclude>This template is use with the <code>form:Citizen science project query</code> </noinclude><includeonly> {{#ask:category:citizen science project {{#if:{{{field...")
 
mNo edit summary
 
(31 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>


Testing clauses (should be removed later)
<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]]
{{#ask:[[category:citizen science project]]
 
{{#if:{{{field_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]] }}
{{#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_field_software|}}}|'''Is developed with:''' {{#arraymap:{{{field_software|}}}
{{#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 11: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