- Purpose
- A simple template that takes a property name and value, verifies the value is numeric using formatnum and #expr, and then attempts to set the property to that value.
- Placement
- Anywhere where an attempt to set a non-numeric value may cause an error.
- Usage
{{Set if numeric|property name|value}}
The above documentation is transcluded from Template:Set if numeric/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |