Template:Category/subobjects
Template page
More actions
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 | |
|---|---|
| Category | Property field |
| Category | Subobject field |
.
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.