Template:IsANumber

From Space Engineers Wiki
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.