Template:Citizen science project query: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(10 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> | ||
< | |||
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_infrastructure|}}}|[[Has infrastructure::{{{field_infrastructure|}}}]]|[[Has infrastructure::+]]}} | ||
{{#ifexist:{{{field_software|}}}|{{#arraymap:{{{field_software|}}}|,|x|[[developed with::x]]}}|[[developed with::+]]}} | {{#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_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 10: | Line 22: | ||
{{#if:{{{field_volonteer_gaming|}}}|[[Has volonteer gaming::{{{field_volonteer_gaming|}}}]] }} | {{#if:{{{field_volonteer_gaming|}}}|[[Has volonteer gaming::{{{field_volonteer_gaming|}}}]] }} | ||
| mainlabel=Project name | | mainlabel=Project name | ||
|? Has project name | |? Has project name=Project name | ||
|? Has infrastructure | |? Has infrastructure=Infrastructure | ||
|? Has citizen science subject area | |? 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