Template:Isnumeric/doc: Difference between revisions
(Update) |
(Fix category) |
||
Line 28: | Line 28: | ||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category: | [[Category:Utility templates|{{PAGENAME}}]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Latest revision as of 14:36, 23 February 2010
![]() |
This is a documentation subpage for Template:Isnumeric (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This is the {{Isnumeric}} template. This template is used to test if the passed in parameter is numeric or not. Only one parameter is used and required, the value to be tested.
Examples[edit source]
Entered | Produces | Notes |
{{Isnumeric{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} | 782195 | Correct |
{{Isnumeric{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} | Contains non-numeric characters | |
{{Isnumeric{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} | Missing number |