Jump to content

Template:Ifdef

From mediawiki.org
Template documentation

Simple template for "if defined then do" statements with an else part without a dependency on Extension:ParserFunctions . Opposite of m:Template:Ifndef.

TemplateData

[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Ifdef

"IF defined THEN do"

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Value1

no description

Contentsuggested
Result2

Output when parameter 1 isn't blank.

Contentrequired
Edit parameter translations

See also

[edit]