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|}}}]]
'''Description: ''' [[Has description::{{{Has description|}}}]]


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


{{#if: {{{Has provider|}}} | '''Provider:''' [[Has provider::{{{Has provider|}}}]] </br>| }}
{{#if: {{{Has provider|}}} | '''Provider: ''' [[Has provider::{{{Has provider|}}}]] </br>| }}
{{#if: {{{Has funding|}}} | '''Funding:''' {{#arraymap:{{{Has funding|}}}|,|x|[[Has funding::x]]}} </br>| }}
{{#if: {{{Has funding|}}} | '''Funding: ''' {{#arraymap:{{{Has funding|}}}|,|x|[[Has funding::x]]}} </br>| }}


'''Address:''' [[Has address::{{{Has address|}}}]]
'''Address:''' [[Has address::{{{Has address|}}}]]


{{#if: {{{Has note|}}} | '''Notes:''' [[Has note::{{{Has note|}}}]] </br>|}}
{{#if: {{{Has note|}}} | '''Notes: ''' [[Has note::{{{Has note|}}}]] </br>|}}
{{#if: {{{Has referral|}}} | '''Referral:'''[[Has referral::{{{Has referral|}}}]] | }}{{#set: Has character={{{Has character|}}} }}
{{#if: {{{Has referral|}}} | '''Referral: '''[[Has referral::{{{Has referral|}}}]] | }}{{#set: Has character={{{Has character|}}} }}


{{#if: {{{Coords|}}}  
{{#if: {{{Coords|}}}  
Line 24: Line 24:


{|
{|
|{{#if: {{{Phone|}}} | '''Phone:''' [[Has phone::{{{Phone|}}}]]</br>|}}
|{{#if: {{{Phone|}}} | '''Phone: ''' [[Has phone::{{{Phone|}}}]]</br>|}}
{{#if: {{{Fax|}}} | '''Fax:''' [[Has fax::{{{Fax|}}}]]</br>|}}
{{#if: {{{Fax|}}} | '''Fax: ''' [[Has fax::{{{Fax|}}}]]</br>|}}
{{#if: {{{Email|}}} | '''email:''' [[Has email::{{{Email|}}}]]</br>|}}
{{#if: {{{Email|}}} | '''email: ''' [[Has email::{{{Email|}}}]]</br>|}}
{{#if: {{{URL|}}} | '''URL:''' [[Has URL::{{{URL|}}}]]|}}
{{#if: {{{URL|}}} | '''URL: ''' [[Has URL::{{{URL|}}}]]|}}


|{{#if: {{{Has shelter|}}} |  
|{{#if: {{{Has shelter|}}} |  


'''Shelter:''' [[Has shelter::{{{Has shelter|}}}]]
'''Shelter: ''' [[Has shelter::{{{Has shelter|}}}]]


'''Type:''' {{#arraymap:{{{Has shelter type|}}}|,|x|[[Has shelter type::x]]}}
'''Type: ''' {{#arraymap:{{{Has shelter type|}}}|,|x|[[Has shelter type::x]]}}


'''For:''' {{#arraymap:{{{Has shelter for|}}}|,|x|[[Has shelter for::x]]}}
'''For: ''' {{#arraymap:{{{Has shelter for|}}}|,|x|[[Has shelter for::x]]}}


  | }}
  | }}

Revision as of 13:38, August 23, 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.