This is the Doc sidebar template. It should be called in the following format:

{{Doc sidebar
|$pageData= (arrayfunctions export) data from slots of a content page
|$classData= (arrayfunctions export) data from Module:ClassDefinitionData, derived from a Class definition page
}}