Facility: Difference between revisions
From hmis
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
{{#default_form:Facility}} | {{#default_form:Facility}} | ||
'''Description:''' [[Has description::{{{Has description|}}}]] | |||
'''Services:''' {{#arraymap:{{{Has services|}}}|,|x|[[Has service::x]]}} | |||
'''Provider:''' [[Has provider::{{{Has provider|}}}]] | |||
'''Funding:''' {{#arraymap:{{{Has funding|}}}|,|x|[[Has funding::x]]}} | |||
'''Address:''' [[Has address::{{{Has address|}}}]] | '''Address:''' [[Has address::{{{Has address|}}}]] | ||
{{#if: {{{Has note|}}} | '''Notes:''' [[Has note::{{{Has note|}}}]] | }} | |||
{{#if: {{{Has referral|}}} | '''Referral:'''[[Has referral::{{{Has referral|}}}]] | }} | |||
{{#set: Has character={{{Has character|}}} }} | |||
{{#if: {{{Coords|}}} | |||
| {{#set: Has coordinates={{{Coords|}}} }} | |||
{{#display_map: {{{Coords|}}} |icon={{{Has character|}}}.svg}} | |||
| {{#set: Has coordinates={{#Geocode:{{{Has address|}}}}}}} | |||
{{#display_map: {{#Geocode:{{{Has address|}}}}} |icon={{{Has character|}}}.svg}} }} | |||
''' | {{#if: {{{URL|}}} | '''URL:''' [[Has URL::{{{URL|}}}]] | ||
|}} | |||
''' | {{#if: {{{Phone|}}} | '''Phone:''' [[Has phone::{{{Phone|}}}]] | ||
|}} | |||
''' | {{#if: {{{Fax|}}} | '''Fax:''' [[Has fax::{{{Fax|}}}]] | ||
|}} | |||
{{#if: {{{Email|}}} | '''email:''' [[Has email::{{{Email|}}}]] | |||
|}} | |||
{{#if: {{{Has shelter|}}} | | {{#if: {{{Has shelter|}}} | | ||
| Line 31: | Line 49: | ||
| }} | | }} | ||
[[Category:Facility]] | [[Category:Facility]] | ||
</includeonly> | </includeonly> | ||
Revision as of 17:59, August 22, 2025
This is the "Facility" template.
It should be called in the following format:
{{Facility
|Has address=
|Has services=
|Has shelter=
|Has Shelter for=
|Has shelter type=
|Has provider=
|URL=
|Phone=
|Fax=
|Email=
|Has description=
|Has character=
|Has funding=
|Has note=
|Has referral=
}}
Edit the page to see the template text.