Template:Citizen science project query: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Testing clauses (should be removed later) | 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> | </noinclude> | ||
<includeonly> | <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_software|}}}|{{#arraymap:{{{field_software|}}}|,|x|[[developed with::x]]}} }} | {{#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|}}}]]}} | ||
Line 23: | Line 26: | ||
|? Developed with=Software | |? Developed with=Software | ||
|? Has citizen science subject area=CS subject area | |? 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