Template:Category/subobjects

From Miniscope
Jump to: navigation, search

Renders subobject sections for a category. For each subobject type declared on the category (or any ancestor, via Category/ancestors), fires an #ask that renders each instance through Category/subobject-instance (which itself reuses Category/table). The section heading is in the #ask's `intro=` param so it only renders when at least one instance exists — empty subobject types leave no trace on the rendered page.

Subobject types are discovered from Subobject field declarations on the

ancestor chain:

 For category
CategoryProperty field
CategorySubobject field
ComponentSpecification
DocumentReview record
EquipmentMaintenance record
Hardware componentBOM item
MaterialStock entry
ProjectSpecification
PublicationPublication author
ReleaseSpecification
Schedule templateSchedule step
Workshop admin hubWorkshop admin checklist item
Workshop sessionSchedule entry

.

Parameters:

  • category - The category name whose subobject types should be rendered
  • page - The parent page whose subobject instances should be listed;
        defaults to Template:Category/subobjects.