Facility: Difference between revisions
From hmis
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Template:Facility == | |||
This template is used to display and annotate information about a **Facility** in Semantic MediaWiki. | |||
It sets semantic properties for use in queries and provides a structured layout of facility details. | |||
=== Parameters === | |||
* '''Has description''' – Free text description of the facility. | |||
* '''Has services''' – Comma-separated list of services provided (e.g., `Service1, Service2`). | |||
* '''Has provider''' – The organization or entity providing the services. | |||
* '''Has funding''' – Comma-separated list of funding sources. | |||
* '''Has address''' – Street address or location of the facility. | |||
* '''Has note''' – Additional notes. | |||
* '''Has referral''' – Referral information (if applicable). | |||
* '''Has character''' – Icon identifier used for map display (e.g., `hospital`, `school`). | |||
* '''Coords''' – Explicit coordinates (`lat, long`). If omitted, coordinates will be geocoded from the address. | |||
* '''Phone''' – Facility phone number. | |||
* '''Fax''' – Facility fax number. | |||
* '''Email''' – Contact email. | |||
* '''URL''' – Website URL. | |||
* '''Has shelter''' – Boolean / yes-no indicating if the facility provides shelter. | |||
* '''Has shelter type''' – Comma-separated list of shelter types (e.g., `emergency, transitional`). | |||
* '''Has shelter for''' – Comma-separated list of populations the shelter serves (e.g., `families, individuals`). | |||
=== Usage === | |||
To use this template, include it on a facility page with the desired parameters, for example: | |||
<pre> | |||
{{Facility | |||
| Has description = Community health clinic | |||
| Has services = Primary Care, Mental Health | |||
| Has provider = HealthPartners | |||
| Has funding = State Grant, Federal Grant | |||
| Has address = 123 Main St, Portland, OR | |||
| Phone = (503) 555-1212 | |||
| Email = info@example.org | |||
| URL = https://www.example.org | |||
| Has shelter = Yes | |||
| Has shelter type = Emergency, Transitional | |||
| Has shelter for = Families, Youth | |||
}} | |||
</pre> | |||
This will create a structured entry that can be queried with Semantic MediaWiki and displayed on maps. | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
Revision as of 13:50, August 23, 2025
Template:Facility
This template is used to display and annotate information about a **Facility** in Semantic MediaWiki. It sets semantic properties for use in queries and provides a structured layout of facility details.
Parameters
- Has description – Free text description of the facility.
- Has services – Comma-separated list of services provided (e.g., `Service1, Service2`).
- Has provider – The organization or entity providing the services.
- Has funding – Comma-separated list of funding sources.
- Has address – Street address or location of the facility.
- Has note – Additional notes.
- Has referral – Referral information (if applicable).
- Has character – Icon identifier used for map display (e.g., `hospital`, `school`).
- Coords – Explicit coordinates (`lat, long`). If omitted, coordinates will be geocoded from the address.
- Phone – Facility phone number.
- Fax – Facility fax number.
- Email – Contact email.
- URL – Website URL.
- Has shelter – Boolean / yes-no indicating if the facility provides shelter.
- Has shelter type – Comma-separated list of shelter types (e.g., `emergency, transitional`).
- Has shelter for – Comma-separated list of populations the shelter serves (e.g., `families, individuals`).
Usage
To use this template, include it on a facility page with the desired parameters, for example:
{{Facility
| Has description = Community health clinic
| Has services = Primary Care, Mental Health
| Has provider = HealthPartners
| Has funding = State Grant, Federal Grant
| Has address = 123 Main St, Portland, OR
| Phone = (503) 555-1212
| Email = info@example.org
| URL = https://www.example.org
| Has shelter = Yes
| Has shelter type = Emergency, Transitional
| Has shelter for = Families, Youth
}}
This will create a structured entry that can be queried with Semantic MediaWiki and displayed on maps.