Jump to content

Template:Infobox hospital/lists/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
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