Template:Category/display-rows
Template page
More actions
Renders property value rows via dynamic SMW discovery — walks the ancestor chain via `Category/ancestors`, resolves the effective property-field list through an inverse `#ask`, then `#show`s each property's label and value on the target page. Properties flagged `Is hidden = true` on their property page are skipped.
This is the dynamic-discovery path. Auto-generated category dispatcher templates bypass this and iterate a baked property list inline in `Category/table` / `Category/sidebox`, skipping the queries entirely. This template is still used by:
- `Category/subobject-instance` (rendering one subobject fragment at a
time — no baked values available for the fragment's properties).
- Hand-written custom-display wikitext that composes the primitives.
Parameters:
- category - The category name (without namespace prefix).
- page - The page (or subobject fragment, e.g. "ParentPage#_hash") to
read property values from. Defaults to Template:Category/display-rows.