Template:No results

From Baldur's Gate 3 Wiki
Revision as of 18: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)
Jump to navigation Jump to search
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