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 2: Line 2:


Testing clauses (should be removed later)
Testing clauses (should be removed later)
<nowiki>
<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:
</nowiki>
|format=debug
</source>
</noinclude>
</noinclude>


Line 23: Line 25:
|? Developed with=Software
|? Developed with=Software
|? Has citizen science subject area=CS subject area
|? Has citizen science subject area=CS subject area
 
|format=debug
}}
}}
</includeonly>
</includeonly>

Revision as of 20:52, 20 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