Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 19:06, 19 January 2011 by commons>Jarekt (Created page with '{{TemplateBox |1=1 |1d=expression to test |1def= |1stat=required |2=2 |2d=statement to show is true (parameter has a numeric value) |2def= |2stat=optional |3=3 |3d...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Checks if the parameter has a numeric value.

Usage

{{IfNum |1= |2= |3= }}

Template parameters

ParameterDescriptionDefaultStatus
1expression to testemptyrequired
2statement to show is true (parameter has a numeric value)emptyoptional
3statement to show is false (parameter is text or empty).emptyoptional

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

Localization

This template is not intended to be localized.

Examples
{{IfNum | abcde| number| not a number}} = not a number
{{IfNum | | number| not a number}} = not a number
{{IfNum | 1234| number| not a number}} = number
{{IfNum | 1.34| number| not a number}} = number


Cookies help us deliver our services. By using our services, you agree to our use of cookies.