Difference between revisions of "Template:QueryFilter"

From Openresearch
Jump to: navigation, search
Line 12: Line 12:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{#ask: [[Category:event]] [[Title::{{{etitle|}}}]]
 
{{#ask: [[Category:event]] [[Title::{{{etitle|}}}]]
|?has location country
+
|{{#ifeq:{{{ecountry|}}}|1|?has location country|}}
 
|?has location city
 
|?has location city
 
|format=template
 
|format=template

Revision as of 17:25, 20 January 2017

This is the "QueryFilter" template. It should be called in the following format:

{{QueryFilter
|Event name = 
|City=
|Country=
}}

Edit the page to see the template text.