Template:Infobox hospital/lists/sandbox: Difference between revisions
Appearance
Content deleted Content added
Fix issue for UK and US where a wiki-linked State prevented template from finding state list. Update US section so State=Washington links directly to list instead of redirect. |
New York is linking to a disambiguation page |
||
Line 14: | Line 14: | ||
| TZ | Tanzania = [[List of hospitals in Tanzania|Hospitals in Tanzania]] |
| TZ | Tanzania = [[List of hospitals in Tanzania|Hospitals in Tanzania]] |
||
| UK | United Kingdom = {{#ifexist: List of hospitals in {{delink|1={{{State}}}}} | [[List of hospitals in {{delink|1={{{State}}}}}|Hospitals in {{delink|1={{{State}}}}}]] | [[List of hospitals in the United Kingdom|Hospitals in the United Kingdom]] }} |
| UK | United Kingdom = {{#ifexist: List of hospitals in {{delink|1={{{State}}}}} | [[List of hospitals in {{delink|1={{{State}}}}}|Hospitals in {{delink|1={{{State}}}}}]] | [[List of hospitals in the United Kingdom|Hospitals in the United Kingdom]] }} |
||
| US | United States = {{#switch: {{delink|1={{{State|}}}}} | Georgia = [[List of hospitals in Georgia (U.S. state)|Hospitals in Georgia]] | Washington = [[List of hospitals in Washington (state)|Hospitals in Washington]] | {{#ifexist: List of hospitals in {{delink|1={{{State}}}}} | [[List of hospitals in {{delink|1={{{State}}}}}|Hospitals in {{delink|1={{{State}}}}}]] | [[List of hospitals in the United States|Hospitals in the United States]] }} }} |
| US | United States = {{#switch: {{delink|1={{{State|}}}}} | Georgia = [[List of hospitals in Georgia (U.S. state)|Hospitals in Georgia]] | Washington = [[List of hospitals in Washington (state)|Hospitals in Washington]] | {{#ifexist: List of hospitals in {{delink|1={{{State}}}}} | [[List of hospitals in {{delink|1={{{State}}}}}|Hospitals in {{delink|1={{{State}}}}}]] | [[List of hospitals in the United States|Hospitals in the United States]] }} }} |
||
| #default = {{#ifexist: List of hospitals in {{{Country}}} | [[List of hospitals in {{{Country}}}|Hospitals in {{{Country}}}]]}} |
| #default = {{#ifexist: List of hospitals in {{{Country}}} | [[List of hospitals in {{{Country}}}|Hospitals in {{{Country}}}]]}} |
||
}} |
}} |
Latest revision as of 13:29, 11 April 2024
This is the template sandbox page for Template:Infobox hospital/lists (diff). See also the companion subpage for test cases. |
Template documentation
This is a subtemplate of {{Infobox hospital/lists}}
. It is used to generate the link to "List of hospitals in ..." in the bottom section of the infobox. This template should no be used directly.