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 }}