Template:Ifparadef

Usage
An alternative to using this meta-template is to hardcode this functionality in your template. Here are code for the standard and the extended functionality: