Template:Infobox hospital: Difference between revisions

m
1 revision imported
(Undid revision 775547251 by C16sh (talk). Discuss on talk page. Documentation is clear.)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{#invoke:Type in location|main|Hospital|{{comma separated entries
{{Infobox
|1= {{if empty|{{{location|{{{Location|}}}}}}|{{{address|{{{Address|}}}}}}}}
|2= {{{region|{{{Region|}}}}}}
| data25 3= {{#switch: {{lc:{{{typestate|{{{TypeState|}}}}}}}}
| 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
| aboveclass = fn org
| above = {{{name|{{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}
 
| headerstyle = background-color: #efefef
Line 9 ⟶ 37:
| subheaderclass = category
 
| 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|}}}}}}}}
| 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|}}} }}}
Line 19 ⟶ 60:
|coordinates = {{{coordinates|{{{Coordinates|}}}}}}
|float = center
|label = {{{pushpin_label|}}}
|border = infobox
|caption = {{if empty|{{{map_caption|}}}|{{{pushpin_map_caption|}}}}}
Line 26 ⟶ 67:
}}
 
| header2 = {{#if:{{{location|{{{Location|}}}}}}{{{address|{{{Address|}}}}}}{{{region|{{{Region|}}}}}}{{{state|{{{State|}}}}}}{{{country|{{{Country|}}}}}}{{both|{{{latitude|{{{latd|}}}}}}|{{{longitude|{{{longd|}}}}}}}}{{{coordinates|{{{Coordinates|}}}}}}|Geography}}
 
| label3 = Location
Line 39 ⟶ 80:
|4={{#switch: {{{country|{{{Country|}}}}}}
| AU = Australia
| AS = Astoria
| BZ = Brazoria
| CA = Canada
| HK = Hong Kong
Line 45 ⟶ 88:
| IL = Israel
| KE = Kenya
| KS = Sierra
| NZ = New Zealand
| NO = Norway
Line 50 ⟶ 94:
| PK = Pakistan
| SA = South Africa
| SU = Superior
| TR = Turkey
| TZ = Tanzania
| UC = United Commonwealth
| UK = United Kingdom
| US = United States
Line 58 ⟶ 104:
}}
 
| label4 = [[{{W|Geographic coordinate system|Coordinates]]}}
| data4 = {{#if:{{{coordinates|{{{Coordinates|}}}}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|{{{Coordinates}}}}}}|type:landmark}}| }}
 
| header10 = {{#if:{{{healthcare|{{{HealthCare|}}}}}}{{{funding|{{{Funding|}}}}}}{{{type|{{{Type|}}}}}}{{{religious_affiliation|}}}{{{affiliation|{{{Affiliation|}}}}}}{{{patron|{{{Patron|}}}}}}{{{network|{{{Network|}}}}}}
| {{#switch: {{lc:{{{country|{{{Country|}}}}}}}}| ca | canada | [[{{W|canada]]}} | ph | philippines | {{W|philippines}} | us | united states |[[{{W|united states]]}} = Organization| Organisation}}
}}
 
| label11 = [[{{W|Health system|Care system]]}}
| data11 = {{Infobox hospital/care system
|HealthCare = {{{healthcare|{{{HealthCare|}}}}}}
Line 72 ⟶ 118:
}}
 
| label12 = [[{{W|Hospital#Funding|Funding]]}}
| data12 = {{#switch: {{lc:{{{funding|{{{Funding|}}}}}}}}
| non-profit | non profit | nonprofit = [[{{W|Non-profit hospital]]}}
| for-profit | for profit | forprofit = [[{{W|For-profit hospital]]}}
| government = [[{{W|Government hospital]]}}
| public = [[{{W|Public hospital]]}}
| #default = {{{funding|{{{Funding|}}}}}}
}}
 
 
| label13 = [[{{W|Hospital#Types|Hospital type]]Type}}
| class13 = category
| data13 = {{#switch: {{lc:{{{type|{{{Type|}}}}}}}}
| general | district | district general=[[{{W|Hospital#General|{{{type|{{{Type|}}}}}}]]}}
| specialist =[[{{W|Hospital#Specialized|{{{type|{{{Type|}}}}}}]]}}
| teaching =[[{{W|Teaching hospital|Teaching]]}}
| #default = {{{type|{{{Type|}}}}}}
}}
 
| label14 = [[University|AffiliatedReligious university]]affiliation
| data14 = {{{affiliation|{{{Affiliationreligious_affiliation|}}}}}}
 
| label15 = [[Patronage{{W|Patron]]University|Affiliated university}}
| data15 = {{{patronaffiliation|{{{PatronAffiliation|}}}}}}
 
| label16 = [[Hospital network{{W|Network]]Patronage|Patron}}
| data16 = {{{networkpatron|{{{NetworkPatron|}}}}}}
 
| 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|}}}}}}{{{helipadbeds|{{{HelipadBeds|}}}}}}{{{bedspublictransit|}}}{{{Bedshelipad|{{{Helipad|}}}}}}{{{speciality|{{{Speciality|}}}}}}|Services}}
 
| label21 = Standards
| data21 = {{{standards|{{{Standards|}}}}}}
 
| label22 = [[{{W|Emergency department]]}}
| data22 = {{#if:{{{certification|{{{Certification|}}}}}}
|{{{certification|{{{Certification}}}}}}
|{{#switch: {{lc:{{{country|{{{Country|}}}}}}}}
| 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|}}}}}} }}
|#default = {{{emergency|{{{Emergency|}}}}}}
Line 114 ⟶ 164:
}}
 
| label23 = [[Helipad]]Beds
| data23 = {{{helipadbeds|{{{HelipadBeds|}}}}}}
 
| label25label24 = Special{{#if:{{{speciality|{{{Speciality|}}}}}}|i}}ty
| label24 = Beds
| data24 = {{#switch: {beds{lc:{{{type|{{{BedsType|}}}}}}}}
 
| label25 = Special{{#if:{{{speciality|{{{Speciality|}}}}}}|i}}ty
| data25 = {{#switch: {{lc:{{{type|{{{Type|}}}}}}}}
| specialist | teaching = {{{speciality|{{{Speciality|{{{specialty|{{{Specialty|}}}}}}}}}}}}
| #default =
}}
 
| header30header25 = {{#if: {{{foundedh1-number|}}} {{{Foundedh1-length-f|}}} {{{h1-length-m|}}} {{{closedh1-surface|}}}|{{W|Helipad|{{Closedcolors|black|Helipads}}}}}}|History}}
 
| 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|}}}
 
| label31label41 = FoundedOpened
| data31data41 = {{{opened|{{{founded|{{{Founded|}}}}}}}}}
 
| label32label42 = Closed
| data32data42 = {{{closed|{{{Closed|}}}}}}
 
| label33label43 = Demolished
| data33data43 = {{{demolished|{{{Demolished|}}}}}}
 
| header35header52 = {{#if:{{{website|{{{Website|}}}}}}{{Infobox hospital/lists|Country={{{country|{{{Country|}}}}}}|State = {{{state|{{{State|}}}}}} }}{{{other_links|{{{Wiki-Links|}}}}}}|Links}}
 
| label36label53 = Website
| data36data53 = {{#switch:{{{website|{{{Website|}}}}}}
|N/A|n/a|None|none=
|#default = {{{website|{{{Website|}}}}}}
}}
 
| label37label54 = Lists
| data37data54 = {{Infobox hospital/lists|Country={{{country|{{{Country|}}}}}}|State = {{{state|{{{State|}}}}}} }}
 
| label38label55 = Other links
| data38data55 = {{{other_links|{{{Wiki-Links|}}}}}}
 
| data40data56 = {{{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 | 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 -->
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
</noinclude>