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
|?{{#ifexpr: {{{ecountry|}}} |has location country|has location country}}
+
|{{#ifeq: {{{ecountry|}}}|yes|?has location country|}}
|?{{#ifexpr: {{{ecountry|}}} |has location city|has location city}}
+
|{{#ifeq: {{{ecountry|}}}|no|?has location city|}}
 
|format=template
 
|format=template
 
|template=Outerquery
 
|template=Outerquery

Revision as of 19:21, 22 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.