<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://miniscope.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACategory%2FDashboard</id>
	<title>Template:Category/Dashboard - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://miniscope.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACategory%2FDashboard"/>
	<link rel="alternate" type="text/html" href="https://miniscope.org/index.php?title=Template:Category/Dashboard&amp;action=history"/>
	<updated>2026-05-03T17:12:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://miniscope.org/index.php?title=Template:Category/Dashboard&amp;diff=828&amp;oldid=prev</id>
		<title>DAharoni: SchemaSync: sync from repo @ cef7b4698b6a7bf05768b7fe97b5c01c55c4b039</title>
		<link rel="alternate" type="text/html" href="https://miniscope.org/index.php?title=Template:Category/Dashboard&amp;diff=828&amp;oldid=prev"/>
		<updated>2026-05-02T20:07:54Z</updated>

		<summary type="html">&lt;p&gt;SchemaSync: sync from repo @ cef7b4698b6a7bf05768b7fe97b5c01c55c4b039&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
Custom display template for Category:Dashboard pages.&lt;br /&gt;
&lt;br /&gt;
Replaces the auto-generated property table with a slim &amp;quot;page header&amp;quot;&lt;br /&gt;
block at the top of every dashboard, surfacing the most useful metadata:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Description&amp;#039;&amp;#039;&amp;#039; — rendered as a styled italic intro paragraph (if set)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Scope&amp;#039;&amp;#039;&amp;#039; — Module / Bundle, shown as a small chip in the meta row&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Parent dashboard&amp;#039;&amp;#039;&amp;#039; — breadcrumb in the meta row, when set&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Sub-dashboards&amp;#039;&amp;#039;&amp;#039; — pages whose &amp;lt;code&amp;gt;Has parent dashboard&amp;lt;/code&amp;gt;&lt;br /&gt;
  points at this page, rendered as a row of clickable KPI cards.&lt;br /&gt;
  Each card&amp;#039;s number is the count of entries in the sub-dashboard&amp;#039;s&lt;br /&gt;
  &amp;lt;code&amp;gt;Has focus category&amp;lt;/code&amp;gt; (or blank when no focus is set).&lt;br /&gt;
  Sorted alphabetically by page name (default SMW subject sort).&lt;br /&gt;
  Conditional on having ≥1 sub-dashboard, so leaf dashboards stay quiet.&lt;br /&gt;
&lt;br /&gt;
Reads metadata from the property parameters the dispatcher passes in&lt;br /&gt;
(&amp;lt;code&amp;gt;has_description&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;has_dashboard_scope&amp;lt;/code&amp;gt;, etc. —&lt;br /&gt;
snake-case from &amp;lt;code&amp;gt;NamingHelper::propertyToParameter()&amp;lt;/code&amp;gt;), which&lt;br /&gt;
avoids re-querying SMW for values the dispatcher already has.&lt;br /&gt;
&lt;br /&gt;
Sub-dashboards backlink uses &amp;lt;code&amp;gt;[[Has parent dashboard::{{FULLPAGENAME}}]]&amp;lt;/code&amp;gt;&lt;br /&gt;
directly. Per-card rendering is delegated to&lt;br /&gt;
[[Template:Category/Dashboard/sub_dashboard_card]].&lt;br /&gt;
&lt;br /&gt;
Wraps content in &amp;lt;code&amp;gt;&amp;lt;div class=&amp;quot;dashboard-page&amp;quot;&amp;gt;&amp;lt;/code&amp;gt; as a CSS hook&lt;br /&gt;
for global rules in &amp;lt;code&amp;gt;MediaWiki:Common.css&amp;lt;/code&amp;gt; (e.g. forcing&lt;br /&gt;
SMW/wiki tables on dashboard pages to span the page width).&lt;br /&gt;
&lt;br /&gt;
Styling uses Citizen-skin CSS custom properties with hex fallbacks so&lt;br /&gt;
the block adapts to light/dark mode automatically.&lt;br /&gt;
&lt;br /&gt;
Parameters (from dispatcher):&lt;br /&gt;
* &amp;lt;code&amp;gt;has_description&amp;lt;/code&amp;gt; — the dashboard&amp;#039;s description text&lt;br /&gt;
* &amp;lt;code&amp;gt;has_dashboard_scope&amp;lt;/code&amp;gt; — Module / Bundle&lt;br /&gt;
* &amp;lt;code&amp;gt;has_parent_dashboard&amp;lt;/code&amp;gt; — page name of the parent dashboard&lt;br /&gt;
* (other Dashboard properties pass through but aren&amp;#039;t displayed here)&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&amp;quot;dashboard-page&amp;quot;&amp;gt;{{#if: {{{has_description|}}}&lt;br /&gt;
 | &amp;lt;div style=&amp;quot;font-size:1.05em;color:var(--color-base--subtle, #57606a);font-style:italic;margin:0 0 14px 0;line-height:1.5;&amp;quot;&amp;gt;{{{has_description|}}}&amp;lt;/div&amp;gt;&lt;br /&gt;
}}{{#if: {{{has_dashboard_scope|}}}{{{has_parent_dashboard|}}}&lt;br /&gt;
 |&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:0.85em;color:var(--color-subtle, #57606a);margin:0 0 18px 0;&amp;quot;&amp;gt;{{#if: {{{has_dashboard_scope|}}}&lt;br /&gt;
   |&amp;lt;span style=&amp;quot;display:inline-block;padding:1px 8px;background:var(--background-color-neutral-subtle, #f0f1f2);border:1px solid var(--border-color-base, #d1d9e0);border-radius:4px;font-weight:500;&amp;quot;&amp;gt;{{{has_dashboard_scope|}}} dashboard&amp;lt;/span&amp;gt;&lt;br /&gt;
}}{{#if: {{{has_parent_dashboard|}}}&lt;br /&gt;
   |&amp;lt;span&amp;gt;↑ Parent: [[{{{has_parent_dashboard|}}}]]&amp;lt;/span&amp;gt;&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
}}{{#if: {{#ask: [[Has parent dashboard::{{FULLPAGENAME}}]] |format=list |limit=1}}&lt;br /&gt;
 |&amp;lt;div style=&amp;quot;margin:0 0 20px 0;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:0.85em;color:var(--color-subtle, #57606a);text-transform:uppercase;letter-spacing:0.04em;margin-bottom:6px;font-weight:600;&amp;quot;&amp;gt;Sub-dashboards&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;wiki-kpi-card-row&amp;quot;&amp;gt;{{#ask: [[Has parent dashboard::{{FULLPAGENAME}}]]&lt;br /&gt;
 |mainlabel=Page&lt;br /&gt;
 |?Has focus category=Focus&lt;br /&gt;
 |?Has description=Description&lt;br /&gt;
 |format=template&lt;br /&gt;
 |template=Category/Dashboard/sub_dashboard_card&lt;br /&gt;
 |named args=yes&lt;br /&gt;
 |link=none&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>DAharoni</name></author>
	</entry>
</feed>