Jump to content

Template:Values

From ModEnc²
Revision as of 04:17, 9 April 2008 by en>Renegade (missing parenthesis)

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).