(Imported by PageSync) |
k (1 revision imported) |
(geen verschil)
|
Huidige versie van 14 mrt 2024 om 13:59
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". }}