Difference between revisions of "Template:IsNumber"
Jump to navigation
Jump to search
(Created page with "<noinclude> The template returns "yes" if the entered string is a number, and an empty string otherwise. '''NOTE:''' As any "printing" template, it doesn't store any values...") |
|||
Line 8: | Line 8: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | -->{{#iferror: {{#expr: {{{value|}}} }}|yes | + | -->{{#iferror: {{#expr: {{{value|}}} }}||yes}}<!-- |
--></includeonly> | --></includeonly> |
Revision as of 05:35, 25 June 2017
The template returns "yes" if the entered string is a number, and an empty string otherwise.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|value=
- the value to check