Template:Infobox hospital: Difference between revisions

From Omniversalis
Content added Content deleted
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#invoke:Type in location|main|Hospital|{{comma separated entries
{{Infobox
|1= {{if empty|{{{location|{{{Location|}}}}}}|{{{address|{{{Address|}}}}}}}}
|2= {{{region|{{{Region|}}}}}}
|3= {{#switch: {{{state|{{{State|}}}}}}
| GA = Georgia
| WA = Washington
| #default = {{{state|{{{State|}}}}}}
}}
|4={{#switch: {{{country|{{{Country|}}}}}}
| AU = Australia
| CA = Canada
| HK = Hong Kong
| IE = Ireland
| IN = India
| IL = Israel
| KE = Kenya
| NZ = New Zealand
| NO = Norway
| PH = Philippines
| PK = Pakistan
| SA = South Africa
| TR = Turkey
| TZ = Tanzania
| UK = United Kingdom
| US = United States
| #default = {{{country|{{{Country|}}}}}}
}}
}}}}{{Infobox
| child = {{yesno|{{{embed|}}}}}
| bodyclass = vcard
| bodyclass = vcard
| aboveclass = fn org
| aboveclass = fn org
| above = {{{name|{{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}
| above = {{{name|{{{Name|{{PAGENAMEBASE}}}}}}}}


| headerstyle = background-color: #efefef
| headerstyle = background-color: #efefef
Line 9: Line 37:
| subheaderclass = category
| subheaderclass = category


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{Logo|}}}}}}|size={{{logo_size|{{{Logo Size|}}}}}}|sizedefault=frameless}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{Logo|}}}}}}|alt={{{logo_alt|}}}|size={{{logo_size|{{{Logo Size|}}}}}}|sizedefault=frameless}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Image|}}}}}}|size={{{image_size|{{{Image_size|{{{Width|}}}}}}}}}|sizedefault=frameless|alt={{{alt|{{{image alt|}}}}}}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Image|}}}}}}|size={{{image_size|{{{Image_size|{{{Width|}}}}}}}}}|sizedefault=frameless|alt={{{alt|{{{image alt|}}}}}}}}
| caption2 = {{{caption|{{{Caption|}}}}}}
| caption2 = {{{caption|{{{Caption|}}}}}}

|image3 = {{yesno|{{{mapframe|yes}}}|no=|yes={{Infobox mapframe
|zoom={{{mapframe-zoom|}}}
|frame-width={{{mapframe-width|}}}
|frame-height={{{mapframe-height|}}}
|marker={{{mapframe-marker|hospital}}}
|marker-color={{{mapframe-marker-color|{{{mapframe-marker-colour|}}}}}}
|frame-lat={{{mapframe-lat|{{{mapframe-latitude|}}}}}}
|frame-long={{{mapframe-long|{{{mapframe-longitude|}}}}}}
|stroke-color={{{mapframe-stroke-color|{{{mapframe-stroke-colour|}}}}}}
}}
}}
|caption3 = {{yesno|{{{mapframe|yes}}}|no=|yes={{{mapframe-caption|}}}}}


| data1 = {{#if:{{{map_type| {{{pushpin_map|}}} }}}
| data1 = {{#if:{{{map_type| {{{pushpin_map|}}} }}}
Line 19: Line 60:
|coordinates = {{{coordinates|{{{Coordinates|}}}}}}
|coordinates = {{{coordinates|{{{Coordinates|}}}}}}
|float = center
|float = center
|label =
|label = {{{pushpin_label|}}}
|border = infobox
|border = infobox
|caption = {{if empty|{{{map_caption|}}}|{{{pushpin_map_caption|}}}}}
|caption = {{if empty|{{{map_caption|}}}|{{{pushpin_map_caption|}}}}}
Line 26: Line 67:
}}
}}


| header2 = {{#if:{{{location|{{{Location|}}}}}}{{{address|{{{Address|}}}}}}{{{region|{{{Region|}}}}}}{{{state|{{{State|}}}}}}{{{country|{{{Country|}}}}}}{{both|{{{latitude|{{{latd|}}}}}}|{{{longitude|{{{longd|}}}}}}}}{{{coordinates|{{{Coordinates|}}}}}}|Geography}}
| header2 = {{#if:{{{location|{{{Location|}}}}}}{{{address|{{{Address|}}}}}}{{{region|{{{Region|}}}}}}{{{state|{{{State|}}}}}}{{{country|{{{Country|}}}}}}{{{coordinates|{{{Coordinates|}}}}}}|Geography}}


| label3 = Location
| label3 = Location
Line 39: Line 80:
|4={{#switch: {{{country|{{{Country|}}}}}}
|4={{#switch: {{{country|{{{Country|}}}}}}
| AU = Australia
| AU = Australia
| AS = Astoria
| BZ = Brazoria
| CA = Canada
| CA = Canada
| HK = Hong Kong
| HK = Hong Kong
Line 45: Line 88:
| IL = Israel
| IL = Israel
| KE = Kenya
| KE = Kenya
| KS = Sierra
| NZ = New Zealand
| NZ = New Zealand
| NO = Norway
| NO = Norway
Line 50: Line 94:
| PK = Pakistan
| PK = Pakistan
| SA = South Africa
| SA = South Africa
| SU = Superior
| TR = Turkey
| TR = Turkey
| TZ = Tanzania
| TZ = Tanzania
| UC = United Commonwealth
| UK = United Kingdom
| UK = United Kingdom
| US = United States
| US = United States
Line 58: Line 104:
}}
}}


| label4 = [[Geographic coordinate system|Coordinates]]
| label4 = {{W|Geographic coordinate system|Coordinates}}
| data4 = {{#if:{{{coordinates|{{{Coordinates|}}}}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|{{{Coordinates}}}}}}|type:landmark}}| }}
| data4 = {{#if:{{{coordinates|{{{Coordinates|}}}}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|{{{Coordinates}}}}}}|type:landmark}}| }}


| header10 = {{#if:{{{healthcare|{{{HealthCare|}}}}}}{{{funding|{{{Funding|}}}}}}{{{type|{{{Type|}}}}}}{{{affiliation|{{{Affiliation|}}}}}}{{{patron|{{{Patron|}}}}}}{{{network|{{{Network|}}}}}}
| header10 = {{#if:{{{healthcare|{{{HealthCare|}}}}}}{{{funding|{{{Funding|}}}}}}{{{type|{{{Type|}}}}}}{{{religious_affiliation|}}}{{{affiliation|{{{Affiliation|}}}}}}{{{patron|{{{Patron|}}}}}}{{{network|{{{Network|}}}}}}
| {{#switch: {{lc:{{{country|{{{Country|}}}}}}}}| ca | canada | [[canada]] | us | united states |[[united states]] = Organization| Organisation}}
| {{#switch: {{lc:{{{country|{{{Country|}}}}}}}}| ca | canada | {{W|canada}} | ph | philippines | {{W|philippines}} | us | united states |{{W|united states}} = Organization| Organisation}}
}}
}}


| label11 = [[Health system|Care system]]
| label11 = {{W|Health system|Care system}}
| data11 = {{Infobox hospital/care system
| data11 = {{Infobox hospital/care system
|HealthCare = {{{healthcare|{{{HealthCare|}}}}}}
|HealthCare = {{{healthcare|{{{HealthCare|}}}}}}
Line 72: Line 118:
}}
}}


| label12 = [[Hospital#Funding|Funding]]
| label12 = {{W|Hospital#Funding|Funding}}
| data12 = {{#switch: {{lc:{{{funding|{{{Funding|}}}}}}}}
| data12 = {{#switch: {{lc:{{{funding|{{{Funding|}}}}}}}}
| non-profit | non profit | nonprofit = [[Non-profit hospital]]
| non-profit | non profit | nonprofit = {{W|Non-profit hospital}}
| for-profit | for profit | forprofit = [[For-profit hospital]]
| for-profit | for profit | forprofit = {{W|For-profit hospital}}
| government = [[Government hospital]]
| government = {{W|Government hospital}}
| public = [[Public hospital]]
| public = {{W|Public hospital}}
| #default = {{{funding|{{{Funding|}}}}}}
| #default = {{{funding|{{{Funding|}}}}}}
}}
}}



| label13 = [[Hospital#Types|Hospital type]]
| label13 = {{W|Hospital#Types|Type}}
| class13 = category
| class13 = category
| data13 = {{#switch: {{lc:{{{type|{{{Type|}}}}}}}}
| data13 = {{#switch: {{lc:{{{type|{{{Type|}}}}}}}}
| general | district | district general=[[Hospital#General|{{{type|{{{Type|}}}}}}]]
| general | district | district general={{W|Hospital#General|{{{type|{{{Type|}}}}}}}}
| specialist =[[Hospital#Specialized|{{{type|{{{Type|}}}}}}]]
| specialist ={{W|Hospital#Specialized|{{{type|{{{Type|}}}}}}}}
| teaching =[[Teaching hospital|Teaching]]
| teaching ={{W|Teaching hospital|Teaching}}
| #default = {{{type|{{{Type|}}}}}}
| #default = {{{type|{{{Type|}}}}}}
}}
}}


| label14 = [[University|Affiliated university]]
| label14 = Religious affiliation
| data14 = {{{affiliation|{{{Affiliation|}}}}}}
| data14 = {{{religious_affiliation|}}}


| label15 = [[Patronage|Patron]]
| label15 = {{W|University|Affiliated university}}
| data15 = {{{patron|{{{Patron|}}}}}}
| data15 = {{{affiliation|{{{Affiliation|}}}}}}


| label16 = [[Hospital network|Network]]
| label16 = {{W|Patronage|Patron}}
| data16 = {{{network|{{{Network|}}}}}}
| data16 = {{{patron|{{{Patron|}}}}}}


| label17 = {{W|Hospital network|Network}}
| header20 = {{#if:{{{standards|{{{Standards|}}}}}}{{{certification|{{{Certification|}}}}}}{{{emergency|{{{Emergency|}}}}}}{{{helipad|{{{Helipad|}}}}}}{{{beds|{{{Beds|}}}}}}{{{speciality|{{{Speciality|}}}}}}|Services}}
| data17 = {{{network|{{{Network|}}}}}}

| header20 = {{#if:{{{standards|{{{Standards|}}}}}}{{{certification|{{{Certification|}}}}}}{{{emergency|{{{Emergency|}}}}}}{{{beds|{{{Beds|}}}}}}{{{publictransit|}}}{{{helipad|{{{Helipad|}}}}}}{{{speciality|{{{Speciality|}}}}}}|Services}}


| label21 = Standards
| label21 = Standards
| data21 = {{{standards|{{{Standards|}}}}}}
| data21 = {{{standards|{{{Standards|}}}}}}


| label22 = [[Emergency department]]
| label22 = {{W|Emergency department}}
| data22 = {{#if:{{{certification|{{{Certification|}}}}}}
| data22 = {{#if:{{{certification|{{{Certification|}}}}}}
|{{{certification|{{{Certification}}}}}}
|{{{certification|{{{Certification}}}}}}
|{{#switch: {{lc:{{{country|{{{Country|}}}}}}}}
|{{#switch: {{lc:{{{country|{{{Country|}}}}}}}}
| ca | canada | il | israel | us | united states = {{#switch: {{lc:{{{emergency|{{{Emergency|}}}}}}}} | i | ii | iii | iv | v = [[Level {{{emergency|{{{Emergency}}}}}} trauma center]] |#default = {{{emergency|{{{Emergency|}}}}}} }}
| ca | canada | il | israel | us | united states = {{#switch: {{lc:{{{emergency|{{{Emergency|}}}}}}}} | i | ii | iii | iv | v = {{W|Level {{{emergency|{{{Emergency}}}}}} trauma center}} |#default = {{{emergency|{{{Emergency|}}}}}} }}
| uk | united kingdom | ie | ireland | hk | hong kong | singapore = {{#switch: {{lc:{{{emergency|{{{Emergency|}}}}}}}} | yes | no = {{{emergency|{{{Emergency}}}}}} Accident & Emergency |#default = {{{emergency|{{{Emergency|}}}}}} }}
| uk | united kingdom | ie | ireland | hk | hong kong | singapore = {{#switch: {{lc:{{{emergency|{{{Emergency|}}}}}}}} | yes | no = {{{emergency|{{{Emergency}}}}}} Accident & Emergency |#default = {{{emergency|{{{Emergency|}}}}}} }}
|#default = {{{emergency|{{{Emergency|}}}}}}
|#default = {{{emergency|{{{Emergency|}}}}}}
Line 114: Line 164:
}}
}}


| label23 = [[Helipad]]
| label23 = Beds
| data23 = {{{helipad|{{{Helipad|}}}}}}
| data23 = {{{beds|{{{Beds|}}}}}}


| label24 = Special{{#if:{{{speciality|{{{Speciality|}}}}}}|i}}ty
| label24 = Beds
| data24 = {{{beds|{{{Beds|}}}}}}
| data24 = {{#switch: {{lc:{{{type|{{{Type|}}}}}}}}

| label25 = Special{{#if:{{{speciality|{{{Speciality|}}}}}}|i}}ty
| data25 = {{#switch: {{lc:{{{type|{{{Type|}}}}}}}}
| specialist | teaching = {{{speciality|{{{Speciality|{{{specialty|{{{Specialty|}}}}}}}}}}}}
| specialist | teaching = {{{speciality|{{{Speciality|{{{specialty|{{{Specialty|}}}}}}}}}}}}
| #default =
| #default =
}}
}}


| header30 = {{#if:{{{founded|{{{Founded|}}}}}}{{{closed|{{{Closed|}}}}}}|History}}
| header25 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}|{{W|Helipad|{{colors|black|Helipads}}}}}}

| label26 = {{W|Helipad}}
| data26 = {{{helipad|{{{Helipad|}}}}}}

| data27 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}
|{{Infobox hospital/datatable
| nlabel = Number
| metric = {{{metric-rwy|}}}
| n1 = {{{h1-number|}}} | l1-m = {{{h1-length-m|}}} | l1-f = {{{h1-length-f|}}} | s1 = {{{h1-surface|}}}
| n2 = {{{h2-number|}}} | l2-m = {{{h2-length-m|}}} | l2-f = {{{h2-length-f|}}} | s2 = {{{h2-surface|}}}
| n3 = {{{h3-number|}}} | l3-m = {{{h3-length-m|}}} | l3-f = {{{h3-length-f|}}} | s3 = {{{h3-surface|}}}
| n4 = {{{h4-number|}}} | l4-m = {{{h4-length-m|}}} | l4-f = {{{h4-length-f|}}} | s4 = {{{h4-surface|}}}
| n5 = {{{h5-number|}}} | l5-m = {{{h5-length-m|}}} | l5-f = {{{h5-length-f|}}} | s5 = {{{h5-surface|}}}
| n6 = {{{h6-number|}}} | l6-m = {{{h6-length-m|}}} | l6-f = {{{h6-length-f|}}} | s6 = {{{h6-surface|}}}
| n7 = {{{h7-number|}}} | l7-m = {{{h7-length-m|}}} | l7-f = {{{h7-length-f|}}} | s7 = {{{h7-surface|}}}
| n8 = {{{h8-number|}}} | l8-m = {{{h8-length-m|}}} | l8-f = {{{h8-length-f|}}} | s8 = {{{h8-surface|}}}
| n9 = {{{h9-number|}}} | l9-m = {{{h9-length-m|}}} | l9-f = {{{h9-length-f|}}} | s9 = {{{h9-surface|}}}
| n10 = {{{h10-number|}}} | l10-m = {{{h10-length-m|}}} | l10-f = {{{h10-length-f|}}} | s10 = {{{h10-surface|}}}
| n11 = {{{h11-number|}}} | l11-m = {{{h11-length-m|}}} | l11-f = {{{h11-length-f|}}} | s11 = {{{h11-surface|}}}
| n12 = {{{h12-number|}}} | l12-m = {{{h12-length-m|}}} | l12-f = {{{h12-length-f|}}} | s12 = {{{h12-surface|}}}
}}}}

| label28 = Public transit access
| data28 = {{{publictransit|}}}

| header38 = {{#if:{{{former-names|}}}{{{constructed|}}}{{{founded|{{{Founded|}}}}}}{{{opened|}}}{{{closed|{{{Closed|}}}}}}|History}}

| label39 = Former name(s)
| data39 = {{{former-names|}}}

| label40 = Construction started
| data40 = {{{constructed|}}}


| label31 = Founded
| label41 = Opened
| data31 = {{{founded|{{{Founded|}}}}}}
| data41 = {{{opened|{{{founded|{{{Founded|}}}}}}}}}


| label32 = Closed
| label42 = Closed
| data32 = {{{closed|{{{Closed|}}}}}}
| data42 = {{{closed|{{{Closed|}}}}}}


| label33 = Demolished
| label43 = Demolished
| data33 = {{{demolished|{{{Demolished|}}}}}}
| data43 = {{{demolished|{{{Demolished|}}}}}}


| header35 = {{#if:{{{website|{{{Website|}}}}}}{{Infobox hospital/lists|Country={{{country|{{{Country|}}}}}}|State = {{{state|{{{State|}}}}}} }}{{{other_links|{{{Wiki-Links|}}}}}}|Links}}
| header52 = {{#if:{{{website|{{{Website|}}}}}}{{Infobox hospital/lists|Country={{{country|{{{Country|}}}}}}|State = {{{state|{{{State|}}}}}} }}{{{other_links|{{{Wiki-Links|}}}}}}|Links}}


| label36 = Website
| label53 = Website
| data36 = {{#switch:{{{website|{{{Website|}}}}}}
| data53 = {{#switch:{{{website|{{{Website|}}}}}}
|N/A|n/a|None|none=
|N/A|n/a|None|none=
|#default = {{{website|{{{Website|}}}}}}
|#default = {{{website|{{{Website|}}}}}}
}}
}}


| label37 = Lists
| label54 = Lists
| data37 = {{Infobox hospital/lists|Country={{{country|{{{Country|}}}}}}|State = {{{state|{{{State|}}}}}} }}
| data54 = {{Infobox hospital/lists|Country={{{country|{{{Country|}}}}}}|State = {{{state|{{{State|}}}}}} }}


| label38 = Other links
| label55 = Other links
| data38 = {{{other_links|{{{Wiki-Links|}}}}}}
| data55 = {{{other_links|{{{Wiki-Links|}}}}}}


| data40 = {{{nrhp|{{{NRHP|{{{embedded|{{{module|}}}}}}}}}}}}
| data56 = {{{nrhp|{{{NRHP|{{{embedded|{{{module|}}}}}}}}}}}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox hospital with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox hospital]] with unknown parameter "_VALUE_"|ignoreblank=y| Address| address| Affiliation | affiliation | alt | Beds | beds | Caption | caption | Certification | certification | Closed | closed | Coordinates | coordinates | Country | country | Demolished | demolished | embedded | Emergency | emergency | Founded | founded | Funding | funding | HealthCare | healthcare | Helipad | helipad | Image | image | image alt | Image_size | image_size | Location | location | Logo | logo | Logo Size | logo_size | map_alt | map_caption | map_size | map_type | module | Name | name | Network | network | NRHP | nrhp | Org/Group | org/group | other_links | Patron | patron | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_relief | Region | region | relief | Speciality | speciality | Specialty | specialty | Standards | standards | State | state | Type | type | Website | website | Width | Wiki-Links }}<noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox hospital with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox hospital]] with unknown parameter "_VALUE_"|ignoreblank=y| Address | address | Affiliation | affiliation | alt | Beds | beds | Caption | caption | Certification | certification | Closed | closed | constructed | Coordinates | coordinates | Country | country | Demolished | demolished | embed | embedded | Emergency | emergency | former-names |Founded | founded | Funding | funding | h1-length-f | h1-length-m | h1-number | h1-surface | h10-length-f | h10-length-m | h10-number | h10-surface | h11-length-f | h11-length-m | h11-number | h11-surface | h12-length-f | h12-length-m | h12-number | h12-surface | h2-length-f | h2-length-m | h2-number | h2-surface | h3-length-f | h3-length-m | h3-number | h3-surface | h4-length-f | h4-length-m | h4-number | h4-surface | h5-length-f | h5-length-m | h5-number | h5-surface | h6-length-f | h6-length-m | h6-number | h6-surface | h7-length-f | h7-length-m | h7-number | h7-surface | h8-length-f | h8-length-m | h8-number | h8-surface | h9-length-f | h9-length-m | h9-number | h9-surface | HealthCare | healthcare | Helipad | helipad | Image | image | image alt | Image_size | image_size | Location | location | Logo | logo |logo_alt | Logo Size | logo_size | map_alt | map_caption | map_size | map_type | metric-rwy | module | Name | name | Network | network | NRHP | nrhp | opened | Org/Group | org/group | other_links | Patron | patron | publictransit | pushpin_label | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_relief | Region | region | relief | religious_affiliation | Speciality | speciality | Specialty | specialty | Standards | standards | State | state | Type | type | Website | website | Width | Wiki-Links | mapframe | mapframe-zoom | mapframe-width | mapframe-height | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-caption | mapframe-lat | mapframe-latitude | mapframe-long | mapframe-longitude | mapframe-stroke-color | mapframe-stroke-colour }}<noinclude>
{{Documentation}}<!-- add category and language links to /doc, not here -->
{{Documentation}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
</noinclude>
</noinclude>

Latest revision as of 01:56, 10 May 2022

Infobox hospital