Difference between revisions of "User:Alistaire/Template:DefsStdContentSwitch/doc"
Jump to navigation
Jump to search
(Created) |
(→Accepted values: Added defName) |
||
Line 24: | Line 24: | ||
|- | |- | ||
|dec<br/>decimal || xs:decimal | |dec<br/>decimal || xs:decimal | ||
+ | |- | ||
+ | |defName || [[defName]] | ||
|- | |- | ||
|double || xs:double | |double || xs:double |
Revision as of 14:54, 12 April 2015
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}}}). |
range | (optional): The range for this datatype in this element, ({{{range}}}). |
Accepted values
Value | Output |
---|---|
anyuri | xs:anyURI |
bool boolean |
xs:boolean |
dec decimal |
xs:decimal |
defName | defName |
double | xs:double |
float | xs:float |
int | xs:int |
integer | xs:integer |
name | xs:Name |
normstr normstring normalizedstring |
xs:normalizedString |
rgb | rgb |
str string |
xs:string |
stringnorm | xs:normalizedString |
src uri |
xs:anyURI |
vector2 | vector2 |
vector3 | vector3 |