Template:Doc header: Difference between revisions
More languages
More actions
Add runbook/sop types and teleicu domain support to Doc header (via update-page on MediaWiki MCP Server) |
Automated edit (via update-page on MediaWiki MCP Server) |
||
| Line 38: | Line 38: | ||
|Has reference={{{reference|}}} |
|Has reference={{{reference|}}} |
||
|Has flow={{{flow|}}} |
|Has flow={{{flow|}}} |
||
}}{{DISPLAYTITLE:{{{title|{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}}}}<templatestyles src="Docs/styles.css" />{{Version switcher|status={{{status|current}}}|deprecated={{{deprecated|}}}}}<div class="docs-meta"><span class="docs-meta__badge docs-meta__badge--type">{{{type|doc}}}</span>{{#if:{{{domain|}}}|<span class="docs-meta__badge">{{{domain}}}</span>}}{{#if:{{{fhir|}}}|<span class="docs-meta__badge">FHIR: {{{fhir}}}</span>}}<span class="docs-meta__badge">CARE {{{introduced|3.0}}}{{#if:{{{deprecated|}}}| – {{{deprecated}}}|+}}</span>{{#if:{{{source|}}}|<span class="docs-meta__badge">[https://github.com/ohcnetwork/care/blob/develop/{{{source}}} source]</span>}}</div>[[Category:CARE documentation]]{{#switch:{{{type|}}}|concept=[[Category:CARE concepts]]|flow=[[Category:CARE flows]]|reference=[[Category:CARE references]]|playbook=[[Category:CARE playbooks]]|guide=[[Category:CARE guides]]|runbook=[[Category:CARE runbooks]]|sop=[[Category:CARE SOPs]]|}}{{#if:{{{domain|}}}|[[Category:{{{domain}}}]]|}}</includeonly> |
}}{{DISPLAYTITLE:{{{title|{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}}}}<templatestyles src="Docs/styles.css" />{{Version switcher|status={{{status|current}}}|deprecated={{{deprecated|}}}}}<div class="docs-meta"><span class="docs-meta__badge docs-meta__badge--type">{{{type|doc}}}</span>{{#if:{{{domain|}}}|<span class="docs-meta__badge">{{{domain}}}</span>}}{{#if:{{{fhir|}}}|<span class="docs-meta__badge">FHIR: {{{fhir}}}</span>}}<span class="docs-meta__badge">CARE {{{introduced|3.0}}}{{#if:{{{deprecated|}}}| – {{{deprecated}}}|+}}</span>{{#if:{{{source|}}}|<span class="docs-meta__badge">[https://github.com/ohcnetwork/care/blob/develop/{{{source}}} source]</span>}}</div>{{#switch:{{{domain|}}}|teleicu={{TELEICU sidebar}}|}}[[Category:CARE documentation]]{{#switch:{{{type|}}}|concept=[[Category:CARE concepts]]|flow=[[Category:CARE flows]]|reference=[[Category:CARE references]]|playbook=[[Category:CARE playbooks]]|guide=[[Category:CARE guides]]|runbook=[[Category:CARE runbooks]]|sop=[[Category:CARE SOPs]]|}}{{#if:{{{domain|}}}|[[Category:{{{domain}}}]]|}}</includeonly> |
||
Revision as of 08:38, 6 July 2026
Metadata header required on every CARE documentation page. Declares and stores the Docs Cargo table and sets the SMW relationship properties. Edit doc metadata through Form:Doc where possible.
Parameters — type (concept / flow / reference / playbook / guide / runbook / sop), domain (clinical, billing, facility, …, teleicu), title (display title, defaults to last path segment), summary, order (sidebar position), introduced / deprecated (CARE release range; empty deprecated = current), fhir (FHIR resource), model (Django model), source (path in the care repo), status (current / frozen / draft), and relationship links concept, reference, flow (full page names).
This template defines the table "Docs". View table.