This is a template documentation subpage for Template:If empty. It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
This template 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 {{if empty|a|b|c}} instead of {{#if:a|a|{{#if:b|b|c}}}}, expression a and b do not have to be repeated and evaluated twice.
This is designed to be used inside other templates. It provides a fallback order, similar to a try/catch based programming style.