(Imported by PageSync) Tag: Metadata slot edit |
(Imported by PageSync) Tag: wsps-content-edit-tag |
||
| ws-class-props | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{{ | {{Csp class properties | ||
|Type=CSP Basis Core | |Type=CSP Basis Core | ||
|Origin=CSP Basis | |Origin=CSP Basis | ||
}} | }} | ||
Latest revision as of 09:37, 15 July 2025
This is the "Parameter definition" template. It is used as multiple-instance template in Template:Class definition. It should be called in the following format:
{{Parameter definition
|Name= (text) name of the parameter
|Property name= (optional: text) use this when you want to set a different property name than the parameter name
|Required= (optional: true) use this when the form field for this parameter should have the required attribute
|Multiple= (optional: true) use when the parameter can have multiple values (both for the property and formfield)
|Formfield type= (optional: value options "text", "textarea", "date", "number", "checkbox", "select", "token", "ask token") defaults to "text"
|Allowed values= (optional: comma-separated values or (for ask token) SMW query with round brackets) only for field types "checkbox", "select", "token", "ask token". Examples: "Applied, Notified, Reported" or "((Class::Work instruction))?Title"
|Sorting number= (optional: number) for sort order in default properties and sidebar template code
|Slot= (optional: value options "ws-class-props", "ws-base-props") defaults to "ws-class-props".
}}