• Home
  • Q & A
  • Open CSP
    • What is Open CSP
    • Steering committee
  • Documentation
    • Search
    • Open CSP
    • FlexForm
    • PageSync
  • Media
  • Timeline

Class

Page with pagetitle format title

Has version history: false

Layout

  • Areas : 'main sidebar'
  • Columns : auto 20em
  • Rows : auto

Storage templates

  • Base properties: Template:Base properties
  • Class properties: Template:Csp class properties

Component templates

  • Footer template: (none)
  • Sidebar template: Template:Page sidebar
  • Sub header template: Template:Csp default subheader

Defined parameters

Name Property Slot Formfield template Display template Allowed values Required Multiple
Title Title ws-base-props Csp formfield/text (none) Yes No
Short description Short description ws-class-props Csp formfield/textarea Page views No No

Edit parameters

  • allowed values has different options depending on the chosen formfield template:
    • checked value,unchecked value e.g "Yes,No" for Template:Csp formfield/checkbox
    • SMW query e.g. "[[Class::Application page]]" for Template:Csp formfield/ask token
    • comma-separated list e.g. "A,B,C" for Template:Csp formfield/select and Template:Csp formfield/token
  • allowed values is parsed, so it is for example possible to transclude a page that contains the actual allowed values, like "{{Setting/select-options}}"
  • multiple is only used by Template:Csp formfield/token and Template:Csp formfield/ask token

<br><div class="alert alert-warning" role="alert">

<p>Please log in first.</p></div>
Retrieved from "https://www.open-csp.org/index.php?title=Wiki:Class_definition/Page&oldid=3405"

Class definition

Pagetitle format
title
Allowed namespaces
Short description
Has version history
Layout areas
'main sidebar'
Layout columns
auto 20em
Layout rows
auto
Class properties template
Footer template
Sidebar template
Template:Page sidebar
Sub header template

Version history

New version

<br><div class="alert alert-warning" role="alert">

<p>Please log in first.</p></div>