Open main menu

0

Documentationviewedithistorypurge
This documentation is transcluded from Template:IsNum/doc.

Outputs "1" (numeric one) if the parameter has a numeric value, or "0" (numeric zero) if not (i.e. text or empty).

Usage

{{IsNum |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1Numeric or non-numeric valueemptyrequired

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Relies on:
Module:String

Localization

This template is not intended to be localized.

Examples

Example for a numeric value

{{IsNum|1=100}} = 1

Example for a non-numeric value

{{IsNum|1=abc}} = 0