ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Template:Values

From ModEnc
Revision as of 05:51, 14 April 2008 by Vinifera7 (talk | contribs) (Formatting 'n' stuff)
Jump to navigation Jump to search

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
  • stringlist or listofstrings
  • colors
  • clsids or locomotors
  • leptons
  • percentages
  • special


In the case of strings and stringlist, a second parameter can be added to note what the strings are limited to. For example:

{{Values|stringlist|[[Animations]]}}

yields "A list of strings, usually separated by commas or whitespace. (Limited to: Animations)".