User talk:Davidruben/Templates/Test1

From Wikipedia, the free encyclopedia

< User talk:Davidruben | Templates

Ok here are examples of how my proposed upgrade to Template:Infobox Hospital would work for UK NHS and US private hospitals. See Template talk:Infobox Hospital for discussion.

Note how recognised items in Region, State, Country are wikilinked. Wink-links also autogenerates coutry-specific list of hospitals, or in case of UK & US the State setting (for UK State=England, Wales, Scotland, Northern Ireland)

[edit] For a UK NHS

St Thomas' Hospital
Guy's & St Thomas' NHS Foundation Trust
located across the River Thames from the Houses of Parliament
Location
Place Lambeth London,England,(UK)
Organisation
Care System Public NHS
Hospital Type District General
Affiliated Med.Sch. King's College London
Services
Emergency Dept. Yes Accident & Emergency
Beds Unknown
Speciality Teaching
History
Founded circa 1100
Links
Website Trust Homepage
See also Hospitals in England
{{User:Davidruben/Templates/Test1 |
| Name       = St Thomas' Hospital
| Image      = st.thomas.hospital.arp.750pix.jpg
| Caption    = Saint Thomas’ Hospital, located across the
River Thames from the Houses of Parliament
| Location   = [[London Borough of Lambeth|Lambeth]]
| Region     = London
| State      = England
| Country    = UK
| Org/Group  = Guy's & St Thomas' NHS Foundation Trust
| HealthCare = NHS
| Type       = District General
| Speciality = Teaching
| Emergency  = Yes
| Affiliation= [[King's College London]]
| Beds       = 
| Founded    = circa 1100
| Website=http://www.guysandstthomas.nhs.uk/home.aspx Trust
|}}


[edit] For a US hospital

Massachusetts General Hospital
Main entrance of Massachusetts General Hospital
Location
Place Boston,Massachusetts,(US)
Organisation
Care System Private
Hospital Type General
Affiliated Med.Sch. Harvard Medical School
Services
Emergency Dept. Level I trauma center
Beds 893
Speciality Teaching
History
Founded 1811
Links
Website Homepage
See also Hospitals in Massachusetts
{{User:Davidruben/Templates/Test1
| Name       = Massachusetts General Hospital 
| Image      = Mghbay.JPG
| Caption    = Main entrance of Massachusetts General Hospital
| Width      = 250
| Logo       = 
| Location   = 
| Region     = Boston
| State      = Massachusetts
| Country    = US
| Org/Group  = 
| HealthCare = Private
| Type       = General
| Speciality = Teaching
| Emergency  = I
| Affiliation= Harvard Medical School 
| Beds       = 893 
| Founded    = 1811
| Closed     = 
| Website    = http://www.mgh.harvard.edu/
| Wiki-Links = 
|}}


[edit] How upgrade affects existing articles

Current Template usage

The current Massachusetts General Hospital article, using the existing template, appears thus (well it would do if it moved the current picture into the template:

Massachusetts General Hospital
Main entrance of Massachusetts General Hospital
Location
Place Boston, Massachusetts (? country)
Organisation
Care System/Type Unknown
Affiliated University Harvard Medical School
Services
Emergency Dept. Level I
Beds 893
History
Founded 1811
Links
Website Homepage
See also
{{Infobox Hospital |
  Name        = Massachusetts General Hospital |
  Image       = Mghbay.JPG |
  Caption     = Main entrance of Massachusetts General Hospital |
  Location    = [[Boston, Massachusetts]] |
  Beds        = 893 |
  Affiliation = Harvard Medical School | 
  Speciality   = Teaching |
  Certification= [[Level I trauma center|Level I]] | 
  Founded     = 1811 |
  Website     = http://www.mgh.harvard.edu/ |
}}


Upgrading the template alone has little obvious impact:

Massachusetts General Hospital
Main entrance of Massachusetts General Hospital
Location
Place Boston, Massachusetts (? country)
Organisation
System/Type Unknown
Affiliated Med.Sch. Harvard Medical School
Services
Emergency Dept. Level I
Beds 893
Speciality Teaching
History
Founded 1811
Links
Website Homepage
See also
{{User:Davidruben/Templates/Test1 |
  Name        = Massachusetts General Hospital |
  Image       = Mghbay.JPG |
  Caption     = Main entrance of Massachusetts General Hospital |
  Location    = [[Boston, Massachusetts]] |
  Beds        = 893 |
  Affiliation = Harvard Medical School | 
  Speciality  = Teaching |
  Certification= [[Level I trauma center|Level I]] | 
  Founded     = 1811 |
  Website     = http://www.mgh.harvard.edu/ |
}}


Again here is the example showing how the use of the template may be maximised, activating State & Country parameters autolinkage, the Wiki-links being auto-populated with a "List of hospital in " link etc etc.

Massachusetts General Hospital
Main entrance of Massachusetts General Hospital
Location
Place Boston,Massachusetts,(US)
Organisation
Care System Private
Hospital Type General
Affiliated Med.Sch. Harvard Medical School
Services
Emergency Dept. Level I trauma center
Beds 893
Speciality Teaching
History
Founded 1811
Links
Website Homepage
See also Hospitals in Massachusetts
{{User:Davidruben/Templates/Test1
| Name       = Massachusetts General Hospital 
| Image      = Mghbay.JPG
| Caption    = Main entrance of Massachusetts General Hospital
| Width      = 250
| Logo       = 
| Location   = 
| Region     = Boston
| State      = Massachusetts
| Country    = US
| Org/Group  = 
| HealthCare = Private
| Type       = General
| Speciality = Teaching
| Emergency  = I
| Affiliation= Harvard Medical School 
| Beds       = 893 
| Founded    = 1811
| Closed     = 
| Website    = http://www.mgh.harvard.edu/
| Wiki-Links = 
|}}


Upgrading from Template Infobox NHS hospital

The current St Thomas' Hospital article currently looks like this:

Davidruben/Templates/Test1
Location
Place Unknown, (? country)
Organisation
Care System/Type Unknown
Affiliated University Unknown
Services
Emergency Dept. Unknown
Beds Unknown
History
Founded Unknown
Links
Website Unknown
See also
{{Infobox NHS hospital
| hospital name = St Thomas' Hospital
| trust = Guy's & St Thomas' NHS Foundation Trust
| locale = [[Lambeth]] in the [[London Borough of Lambeth]].   
| county = Greater London
| type = District General Hospital
| A&E = Yes
| employees = 9,000 (Trust total)
| website = http://www.hospital.org.uk/ Guy’s & St Thomas’
NHS Foundation Trust
| opened = circa 1100
| image = st.thomas.hospital.arp.750pix.jpg|Saint Thomas’ Hospital,
located across the River Thames from the Houses of Parliament
}}


The upgraded Infobox Hospitals template would appear very similar (NB auto wikilinks and correct List of hopsitals in England rather than the UK)

St Thomas' Hospital
Guy's & St Thomas' NHS Foundation Trust
located across the River Thames from the Houses of Parliament
Location
Place Lambeth London,England,(UK)
Organisation
Care System Public NHS
Hospital Type District General
Affiliated Med.Sch. King's College London
Services
Emergency Dept. Yes Accident & Emergency
Beds Unknown
Speciality Teaching
History
Founded circa 1100
Links
Website Trust Homepage
See also Hospitals in England
{{User:Davidruben/Templates/Test1 |
| Name       = St Thomas' Hospital
| Image      = st.thomas.hospital.arp.750pix.jpg
| Caption    = Saint Thomas’ Hospital, located across the
River Thames from the Houses of Parliament
| Location   = [[London Borough of Lambeth|Lambeth]]
| Region     = London
| State      = England
| Country    = UK
| Org/Group  = Guy's & St Thomas' NHS Foundation Trust
| HealthCare = NHS
| Type       = District General
| Speciality = Teaching
| Emergency  = Yes
| Affiliation= [[King's College London]]
| Beds       = 
| Founded    = circa 1100
| Website=http://www.guysandstthomas.nhs.uk/home.aspx Trust
|}}