Module:IfEmpty: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 4: | Line 4: | ||
function p.main(frame) | function p.main(frame) | ||
local args = getArgs(frame, { | local args = getArgs(frame, { | ||
wrappers = 'Template:IfEmpty' | wrappers = 'Template:IfEmpty' | ||
}) | }) | ||
Revision as of 23:25, 28 November 2023
This module implements the functionality of Template:IfEmpty. It returns the first template argument that's not empty or whitespace-only.