Contact: Difference between revisions
From hmis
Created page with "<noinclude>This template is used to create and display a **Service** subobject within a Facility page in Semantic MediaWiki. It sets semantic properties for each service so they can be queried independently (e.g., all facilities offering "Legal Aid"). === Parameters === * '''Service name''' – The name of the service (e.g., `Food Pantry`, `Health Clinic`). * '''Service description''' – A short description of what the service provides. * '''Service phone''' – Phon..." |
No edit summary |
||
| Line 14: | Line 14: | ||
<pre> | <pre> | ||
{{ | {{Contact | ||
| Service name = Food Pantry | | Service name = Food Pantry | ||
| Service description = Provides weekly food boxes for families in need | | Service description = Provides weekly food boxes for families in need | ||
| Line 22: | Line 22: | ||
}} | }} | ||
{{ | {{Contact | ||
| Service name = Health Clinic | | Service name = Health Clinic | ||
| Service description = Free primary care and vaccinations | | Service description = Free primary care and vaccinations | ||
| Line 30: | Line 30: | ||
</pre> | </pre> | ||
This produces two | This produces two contact subobjects attached to the facility, with properties that can be queried across all facilities. | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#subobject: | <includeonly>{{#subobject: | ||
Revision as of 16:32, October 4, 2025
This template is used to create and display a **Service** subobject within a Facility page in Semantic MediaWiki. It sets semantic properties for each service so they can be queried independently (e.g., all facilities offering "Legal Aid").
Parameters
- Service name – The name of the service (e.g., `Food Pantry`, `Health Clinic`).
- Service description – A short description of what the service provides.
- Service phone – Phone number for the service.
- Service fax – Fax number for the service.
- Service email – Contact email for the service.
Usage
To use this template, add it inside a facility page. Each call to the template creates a new **subobject** tied to the facility, representing one service.
{{Contact
| Service name = Food Pantry
| Service description = Provides weekly food boxes for families in need
| Service phone = (503) 555-1111
| Service fax = (503) 555-2222
| Service email = pantry@example.org
}}
{{Contact
| Service name = Health Clinic
| Service description = Free primary care and vaccinations
| Service phone = (503) 555-3333
| Service email = clinic@example.org
}}
This produces two contact subobjects attached to the facility, with properties that can be queried across all facilities.