Template:Doc header: Difference between revisions
More languages
More actions
Automated edit (via update-page on MediaWiki MCP Server) |
Add sidebar auto-include for all 11 CARE domains (clinical, definitions, deployment, etc.) (via update-page on MediaWiki MCP Server) |
||
| Line 2: | Line 2: | ||
Metadata header required on '''every''' CARE documentation page. Declares and stores the [[Special:CargoTables/Docs|Docs]] Cargo table and sets the SMW relationship properties. Edit doc metadata through [[Form:Doc]] where possible. |
Metadata header required on '''every''' CARE documentation page. Declares and stores the [[Special:CargoTables/Docs|Docs]] Cargo table and sets the SMW relationship properties. Edit doc metadata through [[Form:Doc]] where possible. |
||
'''Parameters''' — <code>type</code> (concept / flow / reference / playbook / guide / runbook / sop), <code>domain</code> ( |
'''Parameters''' — <code>type</code> (concept / flow / reference / playbook / guide / runbook / sop), <code>domain</code> (access-governance, billing, clinical, contributing, definitions, deployment, facility, medications, platform, scheduling, supply, teleicu), <code>title</code> (display title, defaults to last path segment), <code>summary</code>, <code>order</code> (sidebar position), <code>introduced</code> / <code>deprecated</code> (CARE release range; empty deprecated = current), <code>fhir</code> (FHIR resource), <code>model</code> (Django model), <code>source</code> (path in the care repo), <code>status</code> (current / frozen / draft), and relationship links <code>concept</code>, <code>reference</code>, <code>flow</code> (full page names). |
||
{{#cargo_declare:_table=Docs |
{{#cargo_declare:_table=Docs |
||
| 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>{{#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> |
}}{{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|}}}|access-governance={{Access governance sidebar}}|billing={{Billing sidebar}}|clinical={{Clinical sidebar}}|contributing={{Contributing sidebar}}|definitions={{Definitions sidebar}}|deployment={{Deployment sidebar}}|facility={{Facility sidebar}}|medications={{Medications sidebar}}|platform={{Platform sidebar}}|scheduling={{Scheduling sidebar}}|supply={{Supply sidebar}}|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> |
||
Latest revision as of 09:28, 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 (access-governance, billing, clinical, contributing, definitions, deployment, facility, medications, platform, scheduling, supply, 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.