ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Template:Values: Difference between revisions
Jump to navigation
Jump to search
Semantic change - unsigned == "non-negative", not "positive", added "special" value type for cases like powerups |
m missing parenthesis |
||
Line 7: | Line 7: | ||
|unsigned integers = [[Help:Values#Integers|Unsigned integers:]] All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967296. | |unsigned integers = [[Help:Values#Integers|Unsigned integers:]] All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967296. | ||
|float | |float | ||
|floats = [[Help:Values#Floating Point Values|Floating point values:]] Any decimal number (clearer range should be added in [[Template:Values]] | |floats = [[Help:Values#Floating Point Values|Floating point values:]] Any decimal number (clearer range should be added in [[Template:Values]]) | ||
|unsigned byte | |unsigned byte | ||
|unsigned bytes | |unsigned bytes |
Revision as of 02:17, 9 April 2008
This template generates standardized value type descriptions for a number of common types, to be used in the values=
parameter of Template:Flag
Usage
{{Values|VALUE TYPE}}
Currently valid value types are:
- signed integers or integers
- unsigned integers
- floats
- unsigned bytes or bytes
- signed bytes
- booleans
- strings
- colors
- clsids or locomotors
- leptons
- special
In the case of strings
, a second parameter can be added to note what the strings are limited to (such as valid warhead names, for example).