Difference between revisions of "Template:QueryFilter"

From Openresearch
Jump to: navigation, search
Line 13: Line 13:
 
{{#ask: [[Category:event]] [[Acronym::{{{etitle|}}}]]
 
{{#ask: [[Category:event]] [[Acronym::{{{etitle|}}}]]
 
|link=none
 
|link=none
|{{#ifeq: {{{ecountry|}}}|true|?has location country|?has location country}}
+
|{{#ifeq: {{{ecountry|}}}|1|?has location country|}}
|{{#ifeq: {{{ecity|}}}|true|?has location city|?has location city}}
+
|{{#ifeq: {{{ecity|}}}|1|?has location city|}}
 
|format=template
 
|format=template
 
|template=Outerquery
 
|template=Outerquery

Revision as of 14:14, 24 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.