Difference between revisions of "Template:QueryFilter"

From Openresearch
Jump to: navigation, search
(Created page with "<noinclude> This is the "QueryFilter" template. It should be called in the following format: <pre> {{QueryFilter |Event name = |City= |Country= }} </pre> Edit the page to see...")
 
Line 11: Line 11:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>{{#ask: [[Category:event]] [[Title:{{{etitle|}}}]]
 
</noinclude><includeonly>{{#ask: [[Category:event]] [[Title:{{{etitle|}}}]]
{{if:{{{ecity|}}}|?has location city = City|}}
+
{{#if:{{{ecity|}}}|?has location city = City|}}
{{if:{{{ecountry|}}}|?has location country = Country|}}
+
{{#if:{{{ecountry|}}}|?has location country = Country|}}
 
|format=template
 
|format=template
 
|template=Outerquery
 
|template=Outerquery

Revision as of 16:29, 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.