Actions

Template

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|}}}]]


'''Services:''' {{#arraymap:{{{Has services|}}}|,|x|[[Has service::x]]}}
{{#if: {{{Has note|}}} | '''Notes:''' [[Has note::{{{Has note|}}}]] | }}


{{#if: {{{Has referral|}}} | '''Referral:'''[[Has referral::{{{Has referral|}}}]]  | }}


{{#set: Has character={{{Has character|}}} }}


'''Provider:''' [[Has provider::{{{Has provider|}}}]]
{{#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}} }}


'''URL:''' [[Has URL::{{{URL|}}}]]


'''Phone:''' [[Has phone::{{{Phone|}}}]]
{{#if: {{{URL|}}} | '''URL:''' [[Has URL::{{{URL|}}}]]
|}}


'''Fax:''' [[Has fax::{{{Fax|}}}]]
{{#if: {{{Phone|}}} | '''Phone:''' [[Has phone::{{{Phone|}}}]]
|}}


'''email:''' [[Has email::{{{Email|}}}]]
{{#if: {{{Fax|}}} | '''Fax:''' [[Has fax::{{{Fax|}}}]]
|}}


{{#if: {{{Email|}}} | '''email:''' [[Has email::{{{Email|}}}]]
|}}


{{#if: {{{Has shelter|}}} |  
{{#if: {{{Has shelter|}}} |  
Line 31: Line 49:
  | }}
  | }}


'''Description:''' [[Has description::{{{Has description|}}}]]
'''Character:''' [[Has character::{{{Has character|}}}]]
'''Funding:''' {{#arraymap:{{{Has funding|}}}|,|x|[[Has funding::x]]}}
{{#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: {{{Has note|}}} |
'''Notes:''' [[Has note::{{{Has note|}}}]]
| }}{{#if: {{{Has referral|}}} |
'''Referral:'''[[Has referral::{{{Has referral|}}}]]
| }}
[[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.