Template:Category/Dashboard
Custom display template for Category:Dashboard pages.
Replaces the auto-generated property table with a slim "page header" block at the top of every dashboard, surfacing the most useful metadata:
- Description — rendered as a styled italic intro paragraph (if set)
- Scope — Module / Bundle, shown as a small chip in the meta row
- Parent dashboard — breadcrumb in the meta row, when set
- Sub-dashboards — pages whose
Has parent dashboard
points at this page, rendered as a row of clickable KPI cards.
Each card's number is the count of entries in the sub-dashboard's
Has focus category (or blank when no focus is set).
Sorted alphabetically by page name (default SMW subject sort).
Conditional on having ≥1 sub-dashboard, so leaf dashboards stay quiet.
Reads metadata from the property parameters the dispatcher passes in
(has_description, has_dashboard_scope, etc. —
snake-case from NamingHelper::propertyToParameter()), which
avoids re-querying SMW for values the dispatcher already has.
Sub-dashboards backlink uses Template:Category/Dashboard
directly. Per-card rendering is delegated to
Template:Category/Dashboard/sub_dashboard_card.
Wraps content in
as a CSS hook
for global rules in MediaWiki:Common.css (e.g. forcing
SMW/wiki tables on dashboard pages to span the page width).
Styling uses Citizen-skin CSS custom properties with hex fallbacks so the block adapts to light/dark mode automatically.
Parameters (from dispatcher):
has_description— the dashboard's description texthas_dashboard_scope— Module / Bundlehas_parent_dashboard— page name of the parent dashboard- (other Dashboard properties pass through but aren't displayed here)