Template:NoResultsCustomMessage/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
 
Line 1: Line 1:
==Description==
==Description==
This template displays two different outcomes depending on whether a Cargo query returns data.
This template displays two different outcomes depending on whether a Cargo query returns data.  This is distinct from the "intro, outro, default" offered by Cargo because it ''completely hides'' any Cargo output if there's no data.
 
* "Intro" places text immediately preceding the Cargo data, between the table header and the data.
* "Outro" follows an empty table since Cargo seems to qualify a template table header as "something" even if it has nothing.
* "Default" doesn't hide the empty table header.


==Syntax==
==Syntax==

Navigation menu