pathCast
Log in

Template:NullSub

From pathCast
Revision as of 20:28, 5 September 2020 by Madrigal (talk | contribs) (Created page with "<noinclude> Argument 1: Wikitext to evaluate and display if its result is not null Argument 2: Wikitext to evaluate if argument 1 evaluates to a null string Argument 3 (opti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Argument 1: Wikitext to evaluate and display if its result is not null

Argument 2: Wikitext to evaluate if argument 1 evaluates to a null string

Argument 3 (optional): Wikitext to put in front of first argument if result is not null

Argument 4 (optional): Wikitext to append to first argument if result is not null

Useful when you need to embellish the results of a query if it returns a result and return an error/warning if it doesn't.