|
|
Line 1: |
Line 1: |
− | {{#iferror:{{#expr:{{formatnum:{{{1|error}}}|R}}}}|{{#ifeq:{{{boolean|false}}}|true|0|}}|{{#ifeq:{{{boolean|false}}}|true|1|{{{1}}}}}}}<noinclude> | + | <includeonly>{{#iferror: {{#expr: {{{1}}} }} | {{{3|0}}} | {{{2|1}}} }}</includeonly> |
− | <noinclude>By default, simply writing {{Isnumeric|1,327}} (where 1,327 is an example number) will pass through the parameter if it's numeric and be blank if it's not. If the parameter boolean=true is given, as in {{Isnumeric|1,327|boolean=true}}, then the template will output 1 if numeric and 0 if not numeric.</noinclude>
| |
− | [[wikipedia:Template:Isnumeric/doc|Template:Isnumeric/doc]]
| |