Difference between revisions of "Template:IsNum"
From Twilight Heroes Wiki
(New page: <includeonly>{{#IfEq:{{{1|}}}|0|1|{{#IfEq:{{#Expr:{{{1|}}}/{{{1|}}}}}|1|1|0}}}}</includeonly><noinclude> This templates returns "1" (numeric one) if the parameter has a numeric value, or "...) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#IfEq:{{{1|}}}|0|1|{{#IfEq:{{#Expr:{{{1|}}}/{{{1|}}}}}|1|1|0}}}}</includeonly><noinclude> | <includeonly>{{#IfEq:{{{1|}}}|0|1|{{#IfEq:{{#Expr:{{{1|}}}/{{{1|}}}}}|1|1|0}}}}</includeonly><noinclude> | ||
This templates returns "1" (numeric one) if the parameter has a numeric value, or "0" (numeric zero) if not (i.e. text or empty). | This templates returns "1" (numeric one) if the parameter has a numeric value, or "0" (numeric zero) if not (i.e. text or empty). | ||
− | [[Category: | + | [[Category:Utility Templates|{{PAGENAME}}]] |
</noinclude> | </noinclude> |
Latest revision as of 01:31, 22 February 2010
This templates returns "1" (numeric one) if the parameter has a numeric value, or "0" (numeric zero) if not (i.e. text or empty).