Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:No results

Template page
Revision as of 17:38, 4 February 2024 by Nattern (talk | contribs) (Created page with "<includeonly>{{#cargo_query:table=conditions|where=name='no results' }}</includeonly><noinclude>{{Documentation |content=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 === {{code|<nowiki>{{#ifeq: {{#cargo_query: tables = conditions | where = stack_id = 'HASTE'}} | {{No results}}</nowiki><br><nowiki> | Display this if there are '''any''' results | Display this if there...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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