Template:IfNotEmpty/doc

Simple parser function shortcut to print parameter if it isn't an empty string. This avoids repeating the test parameter in the function. The same as saying {{#if:  |  |  }} {	"params": { "1": {			"label": "Test String", "description": "String to test for emptiness", "type": "string", "required": true },		"2": {			"label": "Alternate String", "description": "Optional value to print instead if Test String is empty", "type": "string", "suggested": true }	} }

Example usage: 