Template:Outerquery: Difference between revisions

From Openresearch
Jump to navigation Jump to search
Liy1 (talk | contribs)
No edit summary
Liy1 (talk | contribs)
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Event query" template.
This is the "Outer query" template.
It should be called in the following format:
It should should be used as an inline query result format.
<pre>
{{Event query
|Country=
}}
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
A list of events happen in {{{2}}}.
Event {{{1}}} happens in {{#ifexist: {{{2|}}}| {{{2|}}}| non specified Country}}, {{#ifexist: {{{3|}}}| {{{3|}}}| non specified City}}.
{{#ask: [[Category:event]] [[Category::{{{2}}}]]
 
A list of events happen in {{#ifexist: {{{2|}}}| {{{2|}}}| Any Country}}, {{#ifexist: {{{3|}}}| {{{3|}}}| Any City}}.
{{#ask: [[Category:event]] [[has location country::{{#ifexist: {{{2|}}}| {{{2|}}}| +}}]] [[has location city::{{#ifexist: {{{3|}}}| {{{3|}}}| +}}]]
|mainlabel=Acronym
|mainlabel=Acronym
|?title = Name
|?title = Name

Latest revision as of 16:48, 24 January 2017

This is the "Outer query" template. It should should be used as an inline query result format. Edit the page to see the template text.