Template:If empty/doc: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

16 September 2023

20 August 2023

25 July 2023

24 July 2023

  • curprev 21:5221:52, 24 July 2023Penguinplushie talk contribs 4,779 bytes +4,779 Created page with "{{Documentation subpage}} {{Lua|Module:If empty}} This template is a helper template. It takes any number of parameters and returns the first found to be defined and non-empty. If none is found, nothing is returned. By writing <code><nowiki>{{if empty|a|b|c}}</nowiki></code> instead of <code><nowiki>{{#if:a|a|{{#if:b|b|c}}}}</nowiki></code>, expression a and b do not have to be repeated and evaluated twice. The template provides a w..."