Difference between revisions of "Template:Infobox hospital/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(add publictransit to test case 1)
imported>Jonesey95
(→‎Test 1: add Philippines test)
 
Line 50: Line 50:
 
   | added = February 24, 1975
 
   | added = February 24, 1975
 
   }}
 
   }}
 +
}}
 +
 +
==Test 2==
 +
{{Testcase table |_caption=
 +
| name        = Test Hospital
 +
| org/group  = Foo Group
 +
| funding = public
 +
 +
| country    = Philippines
 +
| type        = Teaching <!--infobox generates link to [[Teaching hospital]]-->
 +
| affiliation = Affiliation
 +
| standards  =
 +
| emergency  = I <!--infobox generates link to [[Level I trauma center]] -->
 +
| helipad    = Big pad
 +
| publictransit = Central Station
 +
| beds        = 1,059
 +
| speciality  =
 +
| constructed = 1999
 +
| opened    = 1999
 +
| closed    = 1999
 +
| demolished = 1999
 +
| former-names = Old Test Hospital
 +
 
}}
 
}}
  

Latest revision as of 13:44, 14 June 2020

Test 1

Template:Testcase table

Test 2

Template:Testcase table

Testing sandbox version

speciality

{{Infobox hospital/sandbox | type = Specialist | speciality = ABC }}

[[Category:Template:Pagetype with short description]]

Template:PAGENAMEBASE
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationScript error: No such module "If empty".
Organisation
TypeSpecialist
Services
SpecialityABC

specialty

{{Infobox hospital/sandbox | type = Specialist | specialty = XYZ }}

[[Category:Template:Pagetype with short description]]

Template:PAGENAMEBASE
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationScript error: No such module "If empty".
Organisation
TypeSpecialist
SpecialtyXYZ

both

This should not occur in actual use, but if both are defined then "speciality" is used.

{{Infobox hospital/sandbox | type = Specialist | speciality = ABC | specialty = XYZ }}

[[Category:Template:Pagetype with short description]]

Template:PAGENAMEBASE
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationScript error: No such module "If empty".
Organisation
TypeSpecialist
Services
SpecialityABC

Testing main template

speciality

{{Infobox hospital | type = Specialist | speciality = ABC }}

[[Category:Template:Pagetype with short description]]

Template:PAGENAMEBASE
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationScript error: No such module "If empty".
Organisation
TypeSpecialist
Services
SpecialityABC

specialty

{{Infobox hospital | type = Specialist | specialty = XYZ }}

[[Category:Template:Pagetype with short description]]

Template:PAGENAMEBASE
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationScript error: No such module "If empty".
Organisation
TypeSpecialist
SpecialtyXYZ

both

This should not occur in actual use, but if both are defined then "speciality" is used.

{{Infobox hospital | type = Specialist | speciality = ABC | specialty = XYZ }}

[[Category:Template:Pagetype with short description]]

Template:PAGENAMEBASE
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationScript error: No such module "If empty".
Organisation
TypeSpecialist
Services
SpecialityABC