Template:NoResultsCustomMessage/doc

< Template:NoResultsCustomMessage
Revision as of 12:40, 2 May 2023 by WikiAdmin (talk | contribs) (Protected "Template:NoResultsCustomMessage/doc": Prevent editing of templates ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))

Description

This template displays two different outcomes depending on whether a Cargo query returns data.

Syntax

{{NoResultsCustomMessage|1|2|3}}

Supplied items could be lengthy so anonymous/unnamed variables were used.

  1. The Cargo query. It can be a template itself, or a raw query (template recommended!)
  2. The content to display if the query has no results.
  3. The content to display if the query returns something.