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

Revision as of 18:36, 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.