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
Line 4: Line 4:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
Event {{{1}}} happens in {{if:{{{3}}}|{{{3}}}|non specified Country}}, {{if:{{{2}}}|{{{2}}}|non specified City}}.
Event {{{1}}} happens in {{#if:{{{2}}}|{{{2}}}|non specified Country}}, {{#if:{{{3}}}|{{{3}}}|non specified City}}.


A list of events happen in {{if:{{{3}}}|{{{3}}}|Any Country}}, {{if:{{{2}}}|{{{2}}}|Any City}}.
A list of events happen in {{#if:{{{2}}}|{{{2}}}|Any Country}}, {{#if:{{{3}}}|{{{3}}}|Any City}}.
{{#ask: [[Category:event]] [[has location country::{{if:{{{2}}}|{{{2}}}|+}}]] [[has location city::{{if:{{{3}}}|{{{3}}}|+}}]]
{{#ask: [[Category:event]] [[has location country::{{#if:{{{2}}}|{{{2}}}|+}}]] [[has location city::{{#if:{{{3}}}|{{{3}}}|+}}]]
|mainlabel=Acronym
|mainlabel=Acronym
|?title = Name
|?title = Name

Revision as of 14:35, 22 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.