Template:No results

Template page
Template documentation

Template that returns No results from a cargo query. Can be used with #ifeq to only display content if a cargo query returns results.

Examples

{{#ifeq: {{#cargo_query: tables = conditions | where = stack_id = 'HASTE'}} | {{No results}}
| Display this if there are '''any''' results | Display this if there are '''no''' results }}
:

Display this if there are no results


{{#ifeq:{{#cargo_query:tables=conditions|where=stack_id='test123'}}|{{No results}}
|Display this if there is are '''any''' results|Display this if there are '''no''' results}}
:

Display this if there are any results