Template:NotEmpty

From Zelda Dungeon Wiki
Revision as of 19:56, April 24, 2014 by Locke (talk | contribs) (Created page with "<onlyinclude>{{#iferror: {{#if: {{{1|}}}|true}}|true}}</onlyinclude> ==Purpose== This tests if the given value is nonempty. This is a workaround where more conventional tests...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.


Purpose

This tests if the given value is nonempty. This is a workaround where more conventional tests may result in errors. If the input causes the check to throw an error, then logically there must be an input and the check should return true.

Usage

{{NotEmpty| input }}