Template:IsANumber

From Space Engineers Wiki
Revision as of 20:19, 18 February 2021 by Vox Serico (talk | contribs) (Grammar fixes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

false

This is a hacky way of testing whether a string is a whole number or text.

Its intended use is to differentiate deprecated forum URL:s and the new announcement URL:s for game update links in the Forum template.

This assumes that the number is 7 digits or less, as the last update forum url had this length, and because loops are unavailable at this time in this wiki.