Difference between revisions of "Template:QueryFilter"

From Openresearch
Jump to: navigation, search
Line 11: Line 11:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{{ecountry|}}}
 
{{{ecity|}}}
 
 
{{#ask: [[Category:event]] [[Acronym::{{{etitle|}}}]]
 
{{#ask: [[Category:event]] [[Acronym::{{{etitle|}}}]]
 
|link=none
 
|link=none
|{{#ifexpr: {{{ecountry|}}}|?has location country|}}
+
|{{#ifeq: {{{ecountry|}}}|Yes|?has location country|}}
|{{#ifexpr: {{{ecity|}}}|?has location city|}}
+
|{{#ifeq: {{{ecity|}}}|Yes|?has location city|}}
 +
|format=template
 +
|template=Outerquery
 
}}
 
}}
 
{{#default_form:QueryFilter}}
 
{{#default_form:QueryFilter}}
 
</includeonly>
 
</includeonly>

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