Difference between revisions of "Template:Infobox hospital/testcases"
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
| 42px | This is the template test cases page for the sandbox of Template:Infobox hospital. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Test 1
Test 2
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). | |
| Location | Script error: No such module "If empty". |
| Organisation | |
| Type | Specialist |
| Services | |
| Speciality | ABC |
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). | |
| Location | Script error: No such module "If empty". |
| Organisation | |
| Type | Specialist |
| Specialty | XYZ |
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). | |
| Location | Script error: No such module "If empty". |
| Organisation | |
| Type | Specialist |
| Services | |
| Speciality | ABC |
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). | |
| Location | Script error: No such module "If empty". |
| Organisation | |
| Type | Specialist |
| Services | |
| Speciality | ABC |
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). | |
| Location | Script error: No such module "If empty". |
| Organisation | |
| Type | Specialist |
| Specialty | XYZ |
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). | |
| Location | Script error: No such module "If empty". |
| Organisation | |
| Type | Specialist |
| Services | |
| Speciality | ABC |