"Parsed text" is een vooraf gedefinieerde eigenschap. Deze eigenschap is van te voren gedefinieerd (ook bekend als een speciale eigenschap) en komt met extra beheersprivileges, maar kan worden gebruikt net als elk andere door de gebruiker gedefinieerde eigenschap.
T
This is the Class definition form template. It should be called in the following format:
{{Class definition form }}
Test
Please log in first. +
This is the Class definition subheader template. It should be called in the following format:
{{Class definition subheader }} +
This is the "Create page form" template.
It should be called in the following format:
{{Create page form
|Class options= <text, can be multiple with sep ","> classes that can be selected in the form. If only 1 class is entered, then no select field is shown. Example: "Article, Organization"
}}
Please log in first. +
This is the Csp class properties template. It should be called in the following format:
{{Csp class properties }} +
This is the Csp default sidebar template. It should be called in the following format:
{{Csp default sidebar
|$pageData= (arrayfunctions export) data from slots of a content page
|$classData= (arrayfunctions export) data from Module:ClassDefinitionData, derived from a Class definition page
|canEdit= (optional: wikitext) output should be "Yes" when user is allowed to edit, defaults to "{{#ifingroup:user |Yes}}"
|hideParametersWhenEmpty= (optional: yes) use this to only show parameter labels in viewtab when they also have values
}} +
This is the Csp default subheader template. It should be called in the following format:
{{Csp default subheader
|$pageData= (Arrayfunctions export) slotdata of current page
|$classData= (Arrayfunctions export) class definition data (if current page and related class definition have a class in ws-base-props)
}} +
This is the Csp formfield/ask token template. It should be called in the following format:
{{Csp formfield/ask token
|name= (text)
|multiple= (optional: "multiple") to allow selecting multiple values
|required= (optional: "required")
|value= (comma-seprated pagenames) selected values, e.g. "Template:Add version history item,Module:VersionHistoryItems"
|allowedValues= (SMW query) e.g. "[[Class::Application page]]"
}}
Example
Related templates:
Page Template:Csp formfield/ask token Template:Csp formfield/checkbox Template:Csp formfield/date Template:Csp formfield/datetime-local Template:Csp formfield/number Template:Csp formfield/select Template:Csp formfield/text Template:Csp formfield/textarea Template:Csp formfield/token +
This is the Csp formfield/checkbox template. It should be called in the following format:
{{Csp formfield/checkbox
|name= (text)
|required= (optional: "required")
|value= (text)
|allowedValues = (optional: "Checked value, unchecked value") e.g. "true,false". Defaults to checked value "Yes" and unchecked value empty
}}
Example
Please log in first.
Related templates:
Page Template:Csp formfield/ask token Template:Csp formfield/checkbox Template:Csp formfield/date Template:Csp formfield/datetime-local Template:Csp formfield/number Template:Csp formfield/select Template:Csp formfield/text Template:Csp formfield/textarea Template:Csp formfield/token +
This is the Csp formfield/date template. It should be called in the following format:
{{Csp formfield/date
|name= (text)
|required= (optional: "required")
|value= (date with format yyyy-mm-dd) e.g. "2023-04-15"
}}
Example
Related templates:
Page Template:Csp formfield/ask token Template:Csp formfield/checkbox Template:Csp formfield/date Template:Csp formfield/datetime-local Template:Csp formfield/number Template:Csp formfield/select Template:Csp formfield/text Template:Csp formfield/textarea Template:Csp formfield/token +
This is the Csp formfield/datetime-local template. It should be called in the following format:
{{Csp formfield/datetime-local
|name= (text)
|required= (optional: "required")
|value= (date-time with format yyyy-mm-ddThh:mm) e.g. "2022-03-01T10:00"
}}
Example
Related templates:
Page Template:Csp formfield/ask token Template:Csp formfield/checkbox Template:Csp formfield/date Template:Csp formfield/datetime-local Template:Csp formfield/number Template:Csp formfield/select Template:Csp formfield/text Template:Csp formfield/textarea Template:Csp formfield/token +
This is the Csp formfield/number template. It should be called in the following format:
{{Csp formfield/number
|name= (text)
|required= (optional: "required")
|value= (number) e.g. "7"
|min= (optional: number) minimum value e.g. "0"
|max= (optional: number) maximum value e.g. "10"
|step= (optional: number) step bewteen value options e.g. "0.01"
}}
Example
Related templates:
Page Template:Csp formfield/ask token Template:Csp formfield/checkbox Template:Csp formfield/date Template:Csp formfield/datetime-local Template:Csp formfield/number Template:Csp formfield/select Template:Csp formfield/text Template:Csp formfield/textarea Template:Csp formfield/token +
This is the Csp formfield/select template. It should be called in the following format:
{{Csp formfield/select
|name= (text)
|required= (optional: "required")
|value= (value from "allowedValues" list)
|allowedValues= (comma-separated values)
}}
Example
braadworst gezond kroket
Related templates:
Page Template:Csp formfield/ask token Template:Csp formfield/checkbox Template:Csp formfield/date Template:Csp formfield/datetime-local Template:Csp formfield/number Template:Csp formfield/select Template:Csp formfield/text Template:Csp formfield/textarea Template:Csp formfield/token +
This is the Csp formfield/text template. It should be called in the following format:
{{Csp formfield/text
|name= (text)
|required= (optional: "required")
|value= (text)
}}
Example
Related templates:
Page Template:Csp formfield/ask token Template:Csp formfield/checkbox Template:Csp formfield/date Template:Csp formfield/datetime-local Template:Csp formfield/number Template:Csp formfield/select Template:Csp formfield/text Template:Csp formfield/textarea Template:Csp formfield/token +
This is the Csp formfield/textarea template. It should be called in the following format:
{{Csp formfield/textarea
|name= (text)
|required= (optional: "required")
|value= (text)
}}
Example
Test abc 123
new line test
link test [[Main Page]]
Related templates:
Page Template:Csp formfield/ask token Template:Csp formfield/checkbox Template:Csp formfield/date Template:Csp formfield/datetime-local Template:Csp formfield/number Template:Csp formfield/select Template:Csp formfield/text Template:Csp formfield/textarea Template:Csp formfield/token +
This is the Csp formfield/token template. It should be called in the following format:
{{Csp formfield/token
|name= (text)
|multiple= (optional: "multiple") to allow selecting multiple values
|required= (optional: "required")
|value= (value(s) from "allowedValues" list) selected values, e.g. "A,C"
|allowedValues= (comma-separated values) value options, e.g. "A,B,C,D,E"
}}
Example
braadworst gezond kroket
braadworst gezond kroket
Related templates:
Page Template:Csp formfield/ask token Template:Csp formfield/checkbox Template:Csp formfield/date Template:Csp formfield/datetime-local Template:Csp formfield/number Template:Csp formfield/select Template:Csp formfield/text Template:Csp formfield/textarea Template:Csp formfield/token +
This is the Csp new component template template. It should be called in the following format:
{{subst:Csp new component template
|Content= (optional: wikitext) content inside "includeonly" tags
}} +
This is the Csp parameter display/date template. It should be called in the following format:
{{Csp parameter display/date
|value= (date with format yyyy-mm-dd) e.g. "2023-04-15"
}}
Example
15 apr 2023
Related templates:
Page Template:Csp parameter display/date Template:Csp parameter display/datetime Template:Csp parameter display/link +
This is the Csp parameter display/datetime template. It should be called in the following format:
{{Csp parameter display/datetime
|value= (date-time with format yyyy-mm-ddThh:mm) e.g. "2022-03-01T10:00"
}}
Example
1 mrt 2022 10:35
Related templates:
Page Template:Csp parameter display/date Template:Csp parameter display/datetime Template:Csp parameter display/link +
This is the Csp parameter display/link template. It should be called in the following format:
{{Csp parameter display/link
|value= (comma-seprated pagenames) selected values, e.g. "Template:Add version history item,Module:VersionHistoryItems"
}}
Example
Template:Add version history item Module:VersionHistoryItems Template:Generate page properties template code
Related templates:
Page Template:Csp parameter display/date Template:Csp parameter display/datetime Template:Csp parameter display/link +
This is the Csp show class definition template. It should be called in the following format:
{{Csp show class definition
|$namespacename= (text) e.g. "Wiki"
|$page= (pagename without namespace) e.g. "Class definition/Application page"
|Class= (text) should always be "Class definition" for those created from CSP 1.8.0 or later
|Defines class= (text) e.g. "Person"
|Footer template= (full pagename)
|Page properties template= (full pagename)
|Sidebar template= (full pagename)
|Sub header template= (full pagename)
}}
Note about the use of "Template:" inside this template to create links in the results: this was done because properties of type pages in WikiSearch are returned without namespace (due to how SMW stores them in ES). An alternative would be to retrieve data from slots of the class definition page or to add new properties (of type Text) that also contain the template names. However this wouldn't be compatible with class definitions from before CSP 1.8.0. Once the old style class definitions have been officially deprecated (1.9.0 or later), this template could be updated to change this.
Test
Application page Csp class properties (no footer template)
Create custom footer template
Please log in first.
Sidebar Subheader Person Csp class properties Footer Csp default sidebar
Create custom sidebar template
Please log in first.
Csp default subheader
Create custom subheader template
Please log in first.
Article Article properties (no footer template)
Create custom footer template
Please log in first.
Sidebar Subheader Class definition Class definition properties (no footer template)
Create custom footer template
Please log in first.
Sidebar Subheader