ViewsWatchers |
This template is for use in other templates. It allows a template to define a behavior that occurs only when a specified parameter is not defined. [edit] UsagePlace the following in a template:
where parm is the number or name of a template parameter and result is the desired result if the parameter doesn't have a value. [edit] Example
is a portion of the MultBirth template, which displays the label "Twin of " if there is just one parameter (second parameter is undefined) and other labels when there are more parameters. [edit] SourceThis template is copied from https://meta.wikimedia.org/wiki/Template:Ifndef. [edit] See also |