User:Alistaire/Template:DefsStdContentSwitch

From RimWorld Wiki
< User:Alistaire
Revision as of 14:40, 12 April 2015 by Alistaire (talk | contribs) (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]

Example documentation

Parameters

Parameter Explanation
1 (required): The datatype, check "Accepted values".
default (optional): The default value for this datatype in this element, (default: {{{default}}}).
info (optional): Extra info for this datatype in this element, ({{{info}}}).


Examples

Input Output
{{User:Alistaire/Template:DefsStdContentSwitch|string}}
unknown datatype
{{User:Alistaire/Template:DefsStdContentSwitch|bool|default=true}}
unknown datatype(default: true)
{{User:Alistaire/Template:DefsStdContentSwitch|integer|default=1|info=0-100}}
unknown datatype(default: 1)


Accepted values

Value Output
anyuri unknown datatype
bool
boolean
unknown datatype
dec
decimal
unknown datatype
defName {{User:Alistaire/Template:DefsStdContentSwitch|defName}}
double unknown datatype
float unknown datatype
int
integer
unknown datatype
li unknown datatype
name unknown datatype
normstr
normstring
normalizedstring
unknown datatype
rgb unknown datatype
str
string
unknown datatype
src
uri
unknown datatype
vector2 unknown datatype
vector3 unknown datatype