Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes. edit
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!
Template:Isnum/sandbox
Jump to navigation
Jump to search
Usage
{{#if:{{isnum|{{{param|}}}}} |something if a number |something else if not a number }}
Examples[edit]
Code | Output |
---|---|
{{#if:{{isnum| }} |YES |no }} |
no |
{{#if:{{isnum| 1 }} |YES |no }} |
YES |
{{#if:{{isnum| 2+2 }} |YES |no }} |
YES |
{{#if:{{isnum| TRUE }} |YES |no }} |
no |