Template:Infobox UK place: Difference between revisions
(Redirected page to wp:Infobox UK place) |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
# | <includeonly><table class="infobox geography vcard" style="width: 23em"> | ||
<tr class=mergedtoprow> | |||
<td style="font-size: 1.25em; width: 100%; white-space: nowrap; text-align: center" align=middle colspan=2><span class="fn org">'''{{{official_name}}}'''</span></td> | |||
</tr><!-- | |||
***** Name in other languages **** | |||
-->{{#if: {{{gaelic_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-gd|{{{gaelic_name}}} }}'''</td></tr>}}{{#if: {{{scots_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-sco|{{{scots_name}}} }}'''</td></tr>}}{{#if: {{{cornish_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-kw|{{{cornish_name}}} }}'''</td></tr>}}{{#if: {{{welsh_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-cy|{{{welsh_name}}} }}'''</td></tr>}}{{#if: {{{irish_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-ga|{{{irish_name}}} }}'''</td></tr>}}{{#if: {{{manx_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>'''{{lang-gv|{{{manx_name}}} }}'''</td></tr>}}{{#if: {{{other_language_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>''[[{{{other_language}}}|{{{other_language_name}}}]]''</td></tr>}}{{#if: {{{local_name|}}}|<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>{{{local_name}}}</td></tr>}} | |||
<!-- | |||
***** Static image ***** | |||
***** as a result of a misunderstanding the code became different to the documentation | |||
***** one had x_x_x_2 the other x_x_2_x – both now use x_x_2_x | |||
-->{{#if: {{{static_image|}}}{{{static_image_name|}}}| | |||
<tr class=mergedtoprow> | |||
<td style="text-align: center" colspan=2 align=middle> | |||
{{#if: {{{static_image|}}}|{{{static_image}}}|[[Image:{{{static_image_name}}}|{{#if: {{{static_image_alt|}}}|alt={{{static_image_alt}}}}}|{{#if: {{{static_image_width|}}}|{{px|{{{static_image_width|}}}|240px}}|240px}}]]}} | |||
{{#if: {{{static_image_caption|}}}|<br /><small></small>{{{static_image_caption|}}} }} | |||
</td> | |||
</tr> | |||
}}{{#if: {{{static_image_2|}}}{{{static_image_2_name|}}}| | |||
<tr class=mergedtoprow> | |||
<td style="text-align: center" colspan=2 align=middle> | |||
{{#if: {{{static_image_2|}}}|{{{static_image_2}}}|[[Image: {{{static_image_2_name|}}}|{{#if: {{{static_image_2_alt|}}}|alt={{{static_image_2_alt}}}}}|{{#if: {{{static_image_2_width|}}}|{{px|{{{static_image_2_width|}}}|240px}}|240px}}]] }} | |||
{{#if: {{{static_image_2_caption|}}}|<br /><small></small>{{{static_image_2_caption}}} }} | |||
</td> | |||
</tr>}}<!-- | |||
***** Map ***** | |||
-->{{#switch: {{{map_type}}} | |||
| nomap = | |||
| UK = <tr class=mergedtoprow> | |||
<td style="text-align: center; padding: 0.7em 0.8em 0.7em 0.8em" colspan=2>{{location map|United Kingdom|label=|position=center|width=240|lat={{{latitude|}}}|long={{{longitude|}}}|alt={{{map_alt|}}}|caption=|float=center}}<br />''<small>{{{official_name}}} shown within the United Kingdom''</small></td></tr> | |||
| #default = {{#if: {{{longitude|}}}|<tr class=mergedtoprow><td style="text-align: center; padding: 0.7em 0.8em 0.7em 0.8em" colspan=2><center> | |||
{{location map|{{#switch: {{{country}}} | |||
| England = {{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{#if: {{{london_borough|}}}|Greater London|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_county}}}|{{#if: {{{shire_county|}}}|{{{shire_county}}}|{{#if: {{{lieutenancy_england|}}}|{{{lieutenancy_england}}}|{{{unitary_england}}} }} }} }} }}|level4={{#if: {{{london_borough|}}}|{{{london_borough}}}|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_borough}}}|{{#if: {{{shire_county|}}}|{{{shire_district}}}|{{{unitary_england}}} }} }} }}|retrieve=map}} | |||
| Northern Ireland = {{Infobox UK place/local|level1=Northern Ireland|retrieve=map}} | |||
| Scotland = {{Infobox UK place/local|level1=Scotland|level2={{{unitary_scotland}}}|retrieve=map}} | |||
| Wales = {{Infobox UK place/local|level1=Wales|level2={{{unitary_wales}}}|retrieve=map}} | |||
| #default = {{#ifeq: {{{crown_dependency}}}|Isle of Man|{{Infobox UK place/local|level1=Isle of Man|retrieve=map}}|United Kingdom}} }}|label={{{official_name}}}|position=center|width=240|lat={{{latitude|}}}|long={{{longitude|}}}|alt={{{map_alt|}}}|caption=|float=center}}<!-- | |||
***** Map title ***** | |||
--><br />''<small>{{{official_name}}} shown within {{#switch: {{{country}}} | |||
| England = {{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{#if: {{{london_borough|}}}|Greater London|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_county}}}|{{#if: {{{shire_county|}}}|{{{shire_county}}}|{{#if: {{{lieutenancy_england|}}}|{{{lieutenancy_england}}}|{{{unitary_england}}} }} }} }} }}|level4={{#if: {{{london_borough|}}}|{{{london_borough}}}|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_borough}}}|{{#if: {{{shire_county|}}}|{{{shire_district}}}|{{{unitary_england}}} }} }} }}|retrieve=maptitle}} | |||
| Northern Ireland = {{Infobox UK place/local|level1=Northern Ireland|retrieve=maptitle}} | |||
| Scotland = {{Infobox UK place/local|level1=Scotland|level2={{{unitary_scotland}}}|retrieve=maptitle}} | |||
| Wales = {{Infobox UK place/local|level1=Wales|level2={{{unitary_wales}}}|retrieve=maptitle}} | |||
| #default = {{#ifeq: {{{crown_dependency}}}|Isle of Man|{{Infobox UK place/local|level1=Isle of Man|retrieve=maptitle}}|the [[United Kingdom]]{{Infobox UK place/NoLocalMap}} }} | |||
}}</small>''</center></td></tr>}} }} | |||
<tr class=mergedrow><td style="width:100%; font-size: 1.00em; white-space: nowrap; text-align: center" colspan=2 align=middle>{{#if: {{{longitude|}}}|{{Coord|{{{latitude|}}}|{{{longitude|}}}|region:{{#ifeq: {{{crown_dependency|}}}|Isle of Man|IM|GB}}_{{ #if: {{{scale|}}}| scale:{{{scale|}}}| type:city{{#iferror: {{#expr: {{formatnum: {{{population}}}|R}}*1}}||({{formatnum: {{{population}}}|R}})}} }}|display=title}} }}</td></tr> | |||
<!-- | |||
***** Area ***** | |||
***** changed 1/7/2009 to use Template:Infobox UK place/area ***** | |||
-->{{#if: {{{area_total_sq_mi|}}}{{{area_total_km2|}}}{{{area_footnotes|}}}| | |||
<tr class=mergedtoprow> | |||
<th>[[Area]]<!-- force alignment with km<sup>2</sup> --><sup> </sup></th> | |||
<td>{{#if: {{{area_total_sq_mi|}}}|<!-- then -->{{Infobox UK place/area|type=mile|top={{{area_total_sq_mi|}}} }}|<!-- else -->{{#if: {{{area_total_km2|}}}|{{Infobox UK place/area|type=km|top={{{area_total_km2|}}} }} }} }}{{#if: {{{area_footnotes|}}}| {{{area_footnotes}}} }}</td> | |||
</tr> | |||
}}<!-- | |||
***** Population (block includes density) ***** | |||
***** 25/6/2009 complete rewrite re new options (pop + ref + area) ***** | |||
-->{{#if: {{{population|}}}{{{population_ref|}}}| | |||
<tr class=mergedtoprow> | |||
<th>[[Population]]</th> | |||
<td>{{#if: {{{population|}}}|{{#iferror: {{#expr: {{formatnum: {{{population}}}|R}} }}|<strong class=error>Expression error: "{{{population}}}" must be numeric<!-- and add link so we can fix the errors -->[[Template:Infobox UK place/testcases| ]]</strong>|{{formatnum: {{formatnum: {{{population}}}|R}} }} }} }}{{#if: {{{population_ref|}}}| {{{population_ref|}}} }}</td> | |||
</tr><!-- | |||
***** Population density ***** | |||
***** changed 1/7/2009 to use Template:Infobox UK place/dens ***** | |||
-->{{#if: {{{population|}}}|{{#iferror: {{#expr: {{formatnum: {{{population}}}|R}} }}|<!-- do nothing – error reported above -->|{{#if: {{{area_total_sq_mi|}}}{{{area_total_km2|}}}| | |||
<tr class=mergedrow> | |||
<th> - [[Population density|Density]]<!-- force alignment with km<sup>2</sup> --><sup> </sup></th> | |||
<td>{{#if: {{{area_total_sq_mi|}}}|<!-- then -->{{Infobox UK place/dens|type=mile|top={{{population}}}|bottom={{{area_total_sq_mi}}} }}|<!-- else -->{{Infobox UK place/dens|type=km|top={{{population}}}|bottom={{{area_total_km2}}} }} }}</td> | |||
</tr>}} }} }} }}<!-- | |||
***** Population density statistics ***** | |||
-->{{#if: {{{statistic_title|}}}| | |||
<tr class=mergedrow> | |||
<th>{{{statistic_title}}}</th> | |||
<td>{{{statistic}}}</td> | |||
</tr> | |||
}}{{#if: {{{statistic_title1|}}}| | |||
<tr class=mergedrow> | |||
<th>{{{statistic_title1}}}</th> | |||
<td>{{{statistic1}}}</td> | |||
</tr> | |||
}}{{#if: {{{statistic_title2|}}}| | |||
<tr class=mergedrow> | |||
<th>{{{statistic_title2}}}</th> | |||
<td>{{{statistic2}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** Languages spoken ***** | |||
-->{{#if: {{{language|}}}| | |||
<tr class=mergedtoprow> | |||
<th>[[Language]]</th> | |||
<td>{{{language}}}</td> | |||
</tr> | |||
}}{{#if: {{{language1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{language1}}}</td> | |||
</tr> | |||
}}{{#if: {{{language2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{language2}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** OS grid ref ***** | |||
-->{{#if: {{{os_grid_reference|}}}| | |||
<tr class=mergedtoprow> | |||
<th>[[British national grid reference system|OS grid reference]]</th> | |||
<td><span class="plainlinksneverexpand">{{gbmaprim|{{{os_grid_reference}}}|{{{os_grid_reference}}} }}</span></td> | |||
</tr> | |||
}}<!-- | |||
***** Irish grid ref ***** | |||
-->{{#if: {{{irish_grid_reference|}}}| | |||
<tr class=mergedtoprow> | |||
<th>[[Irish national grid reference system|Irish grid reference]]</th> | |||
<td><span class="plainlinksneverexpand">[http://getamap.ordnancesurvey.co.uk/getamap/frames.htm?mapAction=gaz&gazName=g&gazString={{{irish_grid_reference}}} {{{irish_grid_reference}}}]</span></td> | |||
</tr> | |||
}}<!-- | |||
***** City distances ***** | |||
***** changed 1/7/2009 to use Template:Infobox UK place/dist ***** | |||
-->{{#if: {{{belfast_distance|}}}{{{belfast_distance_mi|}}}{{{belfast_distance_km|}}}| | |||
<tr class=mergedbottomrow> | |||
<th> - [[Belfast]]</th> | |||
<td>{{#if: {{{belfast_distance_mi|}}}|<!-- then -->{{Infobox UK place/dist|type=mile|distance={{{belfast_distance_mi}}} }}|<!-- else -->{{#if: {{{belfast_distance_km|}}}|{{Infobox UK place/dist|type=km|distance={{{belfast_distance_km}}} }} }} }} {{{belfast_distance|}}}</td> | |||
</tr> | |||
}}{{#if: {{{cardiff_distance|}}}{{{cardiff_distance_mi|}}}{{{cardiff_distance_km|}}}| | |||
<tr class=mergedbottomrow> | |||
<th> - [[Cardiff]]</th> | |||
<td>{{#if: {{{cardiff_distance_mi|}}}|<!-- then -->{{Infobox UK place/dist|type=mile|distance={{{cardiff_distance_mi}}} }}|<!-- else -->{{#if: {{{cardiff_distance_km|}}}|{{Infobox UK place/dist|type=km|distance={{{cardiff_distance_km}}} }} }} }} {{{cardiff_distance|}}}</td> | |||
</tr> | |||
}}{{#if: {{{douglas_distance|}}}{{{douglas_distance_mi|}}}{{{douglas_distance_km|}}}| | |||
<tr class=mergedbottomrow> | |||
<th> - [[Douglas]]</th> | |||
<td>{{#if: {{{douglas_distance_mi|}}}|<!-- then -->{{Infobox UK place/dist|type=mile|distance={{{douglas_distance_mi}}} }}|<!-- else -->{{#if: {{{douglas_distance_km|}}}|{{Infobox UK place/dist|type=km|distance={{{douglas_distance_km}}} }} }} }} {{{douglas_distance|}}}</td> | |||
</tr> | |||
}}{{#if: {{{edinburgh_distance|}}}{{{edinburgh_distance_mi|}}}{{{edinburgh_distance_km|}}}| | |||
<tr class=mergedbottomrow> | |||
<th> - [[Edinburgh]]</th> | |||
<td>{{#if: {{{edinburgh_distance_mi|}}}|<!-- then -->{{Infobox UK place/dist|type=mile|distance={{{edinburgh_distance_mi}}} }}|<!-- else -->{{#if: {{{edinburgh_distance_km|}}}|{{Infobox UK place/dist|type=km|distance={{{edinburgh_distance_km}}} }} }} }} {{{edinburgh_distance|}}}</td> | |||
</tr> | |||
}}{{#if: {{{london_distance|}}}{{{london_distance_mi|}}}{{{london_distance_km|}}}| | |||
<tr class=mergedbottomrow> | |||
<th> - [[London]]</th> | |||
<td>{{#if: {{{london_distance_mi|}}}|<!-- then -->{{Infobox UK place/dist|type=mile|distance={{{london_distance_mi}}} }}|<!-- else -->{{#if: {{{london_distance_km|}}}|{{Infobox UK place/dist|type=km|distance={{{london_distance_km}}} }} }} }} {{{london_distance|}}}</td> | |||
</tr> | |||
}}{{#if: {{{charingX_distance|}}}{{{charingX_distance_mi|}}}{{{charingX_distance_km|}}}| | |||
<tr class=mergedbottomrow> | |||
<th> - [[Charing Cross]]</th> | |||
<td>{{#if: {{{charingX_distance_mi|}}}|<!-- then -->{{Infobox UK place/dist|type=mile|distance={{{charingX_distance_mi}}} }}|<!-- else -->{{#if: {{{charingX_distance_km|}}}|{{Infobox UK place/dist|type=km|distance={{{charingX_distance_km}}} }} }} }} {{{charingX_distance|}}} {{#if: {{{charingX_direction}}}|[[Boxing the compass|{{{charingX_direction}}}]] }}</td> | |||
</tr> | |||
}}<!-- | |||
***** 5. Parish level divisions ***** | |||
-->{{#if: {{{civil_parish|}}}| | |||
<tr class=mergedtoprow> | |||
<th>[[Civil parish|Parish]]</th> | |||
<td>{{{civil_parish}}}</td> | |||
</tr> | |||
}}{{#if: {{{civil_parish1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{civil_parish1}}}</td> | |||
</tr> | |||
}}{{#if: {{{community_wales|}}}| | |||
<tr class=mergedtoprow> | |||
<th>[[Local_government_in_Wales#Communities|Community]]</th> | |||
<td>{{{community_wales}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** 4. District level divisions ***** | |||
-->{{#if: {{{unitary_wales|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Administrative divisions of Wales|Principal area]]</th> | |||
<td>{{{unitary_wales}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_wales1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_wales1}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_wales2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_wales2}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_wales3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_wales3}}}</td> | |||
</tr> | |||
}}{{#if: {{{london_borough|}}}| | |||
<tr class=mergedrow> | |||
<th>{{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{{london_borough}}}|level4={{{london_borough}}}|retrieve=boroughhead}}</th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{{london_borough}}}|level4={{{london_borough}}}|retrieve=borough}}</td> | |||
</tr> | |||
}}{{#if: {{{london_borough1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{{london_borough}}}|level4={{{london_borough1}}}|retrieve=borough}}</td> | |||
</tr> | |||
}}{{#if: {{{london_borough2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{{london_borough}}}|level4={{{london_borough2}}}|retrieve=borough}}</td> | |||
</tr> | |||
}}{{#if: {{{london_borough3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{{london_borough}}}|level4={{{london_borough3}}}|retrieve=borough}}</td> | |||
</tr> | |||
}}{{#if: {{{london_borough4|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{{london_borough}}}|level4={{{london_borough4}}}|retrieve=borough}}</td> | |||
</tr> | |||
}}{{#if: {{{metropolitan_borough|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Districts of England|Metropolitan borough]]</th> | |||
<td>{{{metropolitan_borough}}}</td> | |||
</tr> | |||
}}{{#if: {{{metropolitan_borough1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{metropolitan_borough1}}}</td> | |||
</tr> | |||
}}{{#if: {{{metropolitan_borough2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{metropolitan_borough2}}}</td> | |||
</tr> | |||
}}{{#if: {{{metropolitan_borough3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{metropolitan_borough3}}}</td> | |||
</tr> | |||
}}{{#if: {{{shire_district|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Districts of England|District]]</th> | |||
<td>{{{shire_district}}}</td> | |||
</tr> | |||
}}{{#if: {{{shire_district1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{shire_district1}}}</td> | |||
</tr> | |||
}}{{#if: {{{shire_district2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{shire_district2}}}</td> | |||
</tr> | |||
}}{{#if: {{{shire_district3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{shire_district3}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_england|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Districts of England|Unitary authority]]</th> | |||
<td>{{{unitary_england}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_england1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_england1}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_england2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_england2}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_england3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_england3}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_scotland|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Subdivisions of Scotland|Council area]]</th> | |||
<td>{{{unitary_scotland}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_scotland1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_scotland1}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_scotland2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_scotland2}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_northern_ireland|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Districts of Northern Ireland|District]]</th> | |||
<td>{{{unitary_northern_ireland}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_northern_ireland1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_northern_ireland1}}}</td> | |||
</tr> | |||
}}{{#if: {{{unitary_northern_ireland2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{unitary_northern_ireland2}}}</td> | |||
</tr> | |||
}}{{#if: {{{manx_parish|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Captain of the Parish|Parish]]</th> | |||
<td>{{{manx_parish}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** 3. County level divisions ***** | |||
-->{{#if: {{{lieutenancy_wales|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Preserved counties of Wales|Ceremonial county]]</th> | |||
<td>{{{lieutenancy_wales}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_wales1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_wales1}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_wales2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_wales2}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_wales3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_wales3}}}</td> | |||
</tr> | |||
}}{{#if: {{{london_borough|}}}| | |||
<tr class=mergedrow> | |||
<th>{{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{{london_borough}}}|level4={{{london_borough1}}}|retrieve=countyhead}}</th> | |||
<td>[[Greater London]]</td> | |||
</tr> | |||
}}{{#if: {{{shire_county|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Metropolitan and non-metropolitan counties of England|Shire county]]</th> | |||
<td>{{{shire_county}}}</td> | |||
</tr> | |||
}}{{#if: {{{shire_county1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{shire_county1}}}</td> | |||
</tr> | |||
}}{{#if: {{{shire_county2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{shire_county2}}}</td> | |||
</tr> | |||
}}{{#if: {{{shire_county3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{shire_county3}}}</td> | |||
</tr> | |||
}}{{#if: {{{metropolitan_county|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Metropolitan and non-metropolitan counties of England|Metropolitan county]]</th> | |||
<td>{{{metropolitan_county}}}</td> | |||
</tr> | |||
}}{{#if: {{{metropolitan_county1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{metropolitan_county1}}}</td> | |||
</tr> | |||
}}{{#if: {{{metropolitan_county2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{metropolitan_county2}}}</td> | |||
</tr> | |||
}}{{#if: {{{metropolitan_county3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{metropolitan_county3}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_england|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Ceremonial counties of England|Ceremonial county]]</th> | |||
<td>{{{lieutenancy_england}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_england1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_england1}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_england2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_england2}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_england3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_england3}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_scotland|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Lieutenancy areas of Scotland|Lieutenancy area]]</th> | |||
<td>{{{lieutenancy_scotland}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_scotland1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_scotland1}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_scotland2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_scotland2}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_scotland3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_scotland3}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_northern_ireland|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Counties of Northern Ireland|County]]</th> | |||
<td>{{{lieutenancy_northern_ireland}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_northern_ireland1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_northern_ireland1}}}</td> | |||
</tr> | |||
}}{{#if: {{{lieutenancy_northern_ireland2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{lieutenancy_northern_ireland2}}}</td> | |||
</tr> | |||
}}{{#if: {{{manx_shedding|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Local government in the Isle of Man|Sheading]]</th> | |||
<td>{{{manx_shedding}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** 2. Region level divisions ***** | |||
-->{{#if: {{{region|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Regions of England|Region]]</th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region}}}|retrieve=region}}</td> | |||
</tr> | |||
}}{{#if: {{{region1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region1}}}|retrieve=region}}</td> | |||
</tr> | |||
}}<!-- | |||
***** 1. Country level divisions ***** | |||
-->{{#if: {{{country|}}}| | |||
<tr class="mergedrow adr"> | |||
<th>[[Countries of the United Kingdom|Constituent country]]</th> | |||
<td class="country-name">[[{{{country}}}]]</td> | |||
</tr> | |||
}}{{#if: {{{country1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>[[{{{country1}}}]]</td> | |||
</tr> | |||
}}{{#if: {{{crown_dependency|}}}| | |||
<tr class="mergedrow adr"> | |||
<th>[[Crown dependency|Crown dependency]]</th> | |||
<td>[[{{{crown_dependency}}}]]</td> | |||
</tr> | |||
}}{{#if: {{{country|}}}| | |||
<tr class=mergedrow> | |||
<th>[[List of sovereign states|Sovereign state]]</th> | |||
<td>[[United Kingdom]]</td> | |||
</tr> | |||
}}<!-- | |||
***** Post town and postcode ***** | |||
-->{{#if: {{{post_town|}}}| | |||
<tr class=mergedtoprow> | |||
<th>[[Post town]]</th> | |||
<td>{{#switch: {{{post_town}}} | |||
| London | |||
| [[London postal district|London]] | |||
| LONDON = [[London postal district|LONDON]] | |||
| {{{post_town}}} = {{Allcaps|{{{post_town}}} }} }}</td> | |||
</tr> | |||
|{{Infobox UK place/NoPostCode}} }}{{#if: {{{postcode_area|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Postal codes in the United Kingdom|Postcode district]]</th> | |||
<td>[[{{{postcode_area}}} postcode area|{{#if: {{{postcode_district|}}}|{{{postcode_district}}}|{{{postcode_area}}} }}]]</td> | |||
</tr> | |||
|{{Infobox UK place/NoPostCode}} }}{{#if: {{{post_town1|}}}| | |||
<th>Post town</th> | |||
<td>{{#switch: {{{post_town1}}} | |||
| London | |||
| [[London postal district|London]] | |||
| LONDON = [[London postal district|LONDON]] | |||
| {{{post_town1}}} = {{Allcaps|{{{post_town1}}} }} }}</td> | |||
</tr> | |||
}}{{#if: {{{postcode_area1|}}}| | |||
<tr class=mergedrow> | |||
<th>Postcode district</th> | |||
<td>[[{{{postcode_area1}}} postcode area|{{{postcode_district1}}}]]</td> | |||
</tr> | |||
}}{{#if: {{{post_town2|}}}| | |||
<tr class=mergedrow> | |||
<th>Post town</th> | |||
<td>{{Allcaps|{{{post_town2}}} }}</td> | |||
}}{{#if: {{{postcode_area2|}}}| | |||
<tr class=mergedrow> | |||
<th>Postcode district</th> | |||
<td>[[{{{postcode_area2}}} postcode area|{{{postcode_district2}}}]]</td> | |||
</tr> | |||
}}<!-- | |||
***** Dial code ***** | |||
-->{{#if: {{{dial_code|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Telephone numbers in the United Kingdom|Dialling code]]</th> | |||
<td>{{#switch: {{{dial_code}}} | |||
| 0203 | |||
| 0207 | |||
| 0208 | |||
| 020 3 | |||
| 020 7 | |||
| 020 8 | |||
| 020= [[020]] | |||
| 02380 | |||
| 02392 | |||
| 023 80 | |||
| 023 92 | |||
| 023= 023 | |||
| 02476 | |||
| 024 76= 024 | |||
| {{{dial_code}}} = {{{dial_code}}} }}</td> | |||
</tr> | |||
|{{Infobox UK place/NoDialCode}} }}{{#if: {{{dial_code1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{dial_code1}}}</td> | |||
}}{{#if: {{{dial_code2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{dial_code2}}}</td> | |||
}}<!-- | |||
***** Police/fire/ambulance service ***** | |||
***** Police service ***** | |||
note - optional switch to remove police/fire/ambulance fields | |||
-->{{#if: {{{hide_services| }}}|<!-- then --><!-- do nothing -->|<!-- else --> | |||
<tr class=mergedtoprow> | |||
<th>[[List of law enforcement agencies in the United Kingdom|Police]]</th> | |||
<td>{{#switch: {{{country}}} | |||
| England = {{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{#if: {{{london_borough|}}}|{{{london_borough}}}|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_county}}}|{{#if: {{{shire_county|}}}|{{{shire_county}}}|{{#if: {{{lieutenancy_england|}}}|{{{lieutenancy_england}}}|{{{unitary_england}}} }} }} }} }}|level4={{#if: {{{london_borough|}}}|{{{london_borough}}}|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_borough}}}|{{#if: {{{shire_county|}}}|{{{shire_district}}}|{{{unitary_england}}} }} }} }}|retrieve=police}} | |||
| Northern Ireland = {{Infobox UK place/local|level1=Northern Ireland|retrieve=police}} | |||
| Scotland = {{Infobox UK place/local|level1=Scotland|level2={{{unitary_scotland}}}|retrieve=police}} | |||
| Wales = {{Infobox UK place/local|level1=Wales|level2={{{unitary_wales}}}|retrieve=police}} | |||
| #default = {{#ifeq: {{{crown_dependency}}}|Isle of Man|{{Infobox UK place/local|level1=Isle of Man|retrieve=police}}| }} | |||
}} | |||
</td> | |||
</tr>{{#if: {{{shire_county3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=England|level2={{{region1}}}|level3={{{shire_county3}}}|retrieve=police}}</td></tr>}} | |||
{{#if: {{{metropolitan_county3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=England|level2={{{region1}}}|level3={{{metropolitan_county3}}}|retrieve=police}}</td></tr>}} | |||
{{#if: {{{unitary_england3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=England|level2={{{region1}}}|level3={{{unitary_england3}}}|retrieve=police}}</td></tr>}} | |||
{{#if: {{{unitary_scotland3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=Scotland|level2={{{unitary_scotland3}}}|retrieve=police}}</td></tr>}} | |||
{{#if: {{{unitary_wales3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=Scotland|level2={{{unitary_wales3}}}|retrieve=police}}</td></tr>}}<!-- | |||
***** Fire service ***** | |||
--><tr class=mergedrow> | |||
<th>[[Fire service in the United Kingdom|Fire]]</th> | |||
<td>{{#switch: {{{country}}} | |||
| England = {{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{#if: {{{london_borough|}}}|{{{london_borough}}}|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_county}}}|{{#if: {{{shire_county|}}}|{{{shire_county}}}|{{#if: {{{lieutenancy_england|}}}|{{{lieutenancy_england}}}|{{{unitary_england}}} }} }} }} }}|level4={{#if: {{{london_borough|}}}|{{{london_borough}}}|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_borough}}}|{{#if: {{{shire_county|}}}|{{{shire_district}}}|{{{unitary_england}}} }} }} }}|retrieve=fire}} | |||
| Northern Ireland = {{Infobox UK place/local|level1=Northern Ireland|retrieve=fire}} | |||
| Scotland = {{Infobox UK place/local|level1=Scotland|level2={{{unitary_scotland}}}|retrieve=fire}} | |||
| Wales = {{Infobox UK place/local|level1=Wales|level2={{{unitary_wales}}}|retrieve=fire}} | |||
| #default = {{#ifeq: {{{crown_dependency}}}|Isle of Man|{{Infobox UK place/local|level1=Isle of Man|retrieve=fire}}| }} | |||
}} | |||
</td> | |||
</tr>{{#if: {{{shire_county3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=England|level2={{{region1}}}|level3={{{shire_county3}}}|retrieve=fire}}</td></tr>}} | |||
{{#if: {{{metropolitan_county3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=England|level2={{{region1}}}|level3={{{metropolitan_county3}}}|retrieve=fire}}</td></tr>}} | |||
{{#if: {{{unitary_england3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=England|level2={{{region1}}}|level3={{{unitary_england3}}}|retrieve=fire}}</td></tr>}} | |||
{{#if: {{{unitary_scotland3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=Scotland|level2={{{unitary_scotland3}}}|retrieve=fire}}</td></tr>}} | |||
{{#if: {{{unitary_wales3|}}}|<tr class=mergedrow><th></th><td>{{Infobox UK place/local|level1=Scotland|level2={{{unitary_wales3}}}|retrieve=fire}}</td></tr>}}<!-- | |||
***** Ambulance service ***** | |||
--><tr class=mergedrow> | |||
<th>{{#if: {{{country|}}}|[[Emergency medical services in the United Kingdom|Ambulance]]|Ambulance}}</th> | |||
<td>{{#switch: {{{country}}} | |||
| England = {{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{#if: {{{london_borough|}}}|{{{london_borough}}}|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_county}}}|{{#if: {{{shire_county|}}}|{{{shire_county}}}|{{#if: {{{lieutenancy_england|}}}|{{{lieutenancy_england}}}|{{{unitary_england}}} }} }} }} }}|level4={{#if: {{{london_borough|}}}|{{{london_borough}}}|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_borough}}}|{{#if: {{{shire_county|}}}|{{{shire_district}}}|{{{unitary_england}}} }} }} }}|ambulance={{{ambulance_service}}}|official_name={{{official_name}}}|postcode={{{postcode_district}}}|retrieve=ambulance}} | |||
| Northern Ireland = {{Infobox UK place/local|level1=Northern Ireland|retrieve=ambulance}} | |||
| Scotland = {{Infobox UK place/local|level1=Scotland|level2={{{unitary_scotland}}}|retrieve=ambulance}} | |||
| Wales = {{Infobox UK place/local|level1=Wales|level2={{{unitary_wales}}}|retrieve=ambulance}} | |||
| #default = {{#ifeq: {{{crown_dependency}}}|Isle of Man|{{Infobox UK place/local|level1=Isle of Man|retrieve=ambulance}}| }} | |||
</td> | |||
</tr> | |||
}}{{#if: {{{region1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region1}}}|level3={{#if: {{{london_borough3|}}}|Greater London|{{#if: {{{metropolitan_county3|}}}|{{{metropolitan_county3}}}|{{#if: {{{shire_county3|}}}|{{{shire_county3}}}|{{#if: {{{lieutenancy_england3|}}}|{{{lieutenancy_england3}}}|{{{unitary_england3}}} }} }} }} }}|level4={{#if: {{{london_borough3|}}}|{{{london_borough3}}}|{{#if: {{{metropolitan_county3|}}}|{{{metropolitan_borough3}}}|{{#if: {{{shire_county3|}}}|{{{shire_district3}}}|{{{unitary_england3}}} }} }} }}|ambulance={{{ambulance_service1}}}|postcode={{{postcode_district}}}|retrieve=ambulance}}</td> | |||
</tr> | |||
}} }}<!-- | |||
***** European Parliament constituency divisions ***** | |||
-->{{#if: {{{country|}}}| | |||
<tr class=mergedtoprow> | |||
<th>[[Members of the European Parliament for the United Kingdom 2009–2014|European Parliament]]</th> | |||
<td>{{#switch: {{{country}}} | |||
|Scotland = [[Scotland (European Parliament constituency)|Scotland]] | |||
|Wales = [[Wales (European Parliament constituency)|Wales]] | |||
|Northern Ireland = [[Northern Ireland (European Parliament constituency)|Northern Ireland]] | |||
|England = {{#if: {{{region|}}}|[[{{{region}}} (European Parliament constituency){{!}}{{{region}}}]]}}|}}</td> | |||
</tr> | |||
}}{{#if: {{{region1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>[[{{{region1}}} (European Parliament constituency)|{{{region1}}}]]</td> | |||
</tr> | |||
}}<!-- | |||
***** UK Parliament constituency divisions ***** | |||
-->{{#if: {{{constituency_westminster|}}}| | |||
<tr class=mergedrow> | |||
<th>[[List of United Kingdom Parliament constituencies|UK Parliament]]</th> | |||
<td>{{{constituency_westminster}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_westminster1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_westminster1}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_westminster2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_westminster2}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_westminster3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_westminster3}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_westminster4|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_westminster4}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_westminster5|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_westminster5}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_westminster6|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_westminster6}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_westminster7|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_westminster7}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_westminster8|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_westminster8}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** Scottish Parliament constituency divisions ***** | |||
-->{{#if: {{{constituency_scottish_parliament|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Scottish Parliament|Scottish Parliament]]</th> | |||
<td>{{{constituency_scottish_parliament}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament1}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament2}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament3}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament4|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament4}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament5|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament5}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament6|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament6}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament7|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament7}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament8|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament8}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament9|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament9}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_scottish_parliament10|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_scottish_parliament10}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** London Assembly constituency divisions ***** | |||
-->{{#if: {{{london_borough|}}}| | |||
<tr class=mergedrow> | |||
<th>[[London Assembly constituencies|London Assembly]]</th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region}}}|level4={{{london_borough}}}|retrieve=assembly}}</td> | |||
</tr> | |||
}}{{#if: {{{london_borough1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region}}}|level4={{{london_borough1}}}|retrieve=assembly}}</td> | |||
</tr> | |||
}}{{#if: {{{london_borough2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{Infobox UK place/local|level1=England|level2={{{region}}}|level4={{{london_borough2}}}|retrieve=assembly}}</td> | |||
</tr> | |||
}}<!-- | |||
***** Welsh Assembly constituency divisions ***** | |||
-->{{#if: {{{constituency_welsh_assembly|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Welsh Assembly]]</th> | |||
<td>{{{constituency_welsh_assembly}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_welsh_assembly1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_welsh_assembly1}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_welsh_assembly2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_welsh_assembly2}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** House of Keys (Isle of Man) constituency divisions ***** | |||
-->{{#if: {{{constituency_manx_parliament|}}}| | |||
<tr class=mergedrow> | |||
<th>[[House of Keys constituencies|House of Keys]]</th> | |||
<td>{{{constituency_manx_parliament}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** Northern Ireland Assembly constituency divisions ***** | |||
-->{{#if: {{{constituency_ni_assembly|}}}| | |||
<tr class=mergedrow> | |||
<th>[[Northern Ireland Assembly|NI Assembly]]</th> | |||
<td>{{{constituency_ni_assembly}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_ni_assembly1|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_ni_assembly1}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_ni_assembly2|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_ni_assembly2}}}</td> | |||
</tr> | |||
}}{{#if: {{{constituency_ni_assembly3|}}}| | |||
<tr class=mergedrow> | |||
<th></th> | |||
<td>{{{constituency_ni_assembly3}}}</td> | |||
</tr> | |||
}}<!-- | |||
***** Website ***** | |||
-->{{#if: {{{website|}}}| | |||
<tr class=mergedtoprow> | |||
<td style="text-align: center" colspan=2 align=middle>'''Website:''' {{{website}}} | |||
</tr> | |||
}}<!-- | |||
***** Footer lists ***** | |||
--><tr class=mergedtoprow> | |||
<td style="text-align: center" colspan=2 align=middle><small>List of places: {{#switch: {{{country}}} | |||
| England = [[List of United Kingdom locations|UK]]{{•}} [[List of places in England|England]]{{•}} {{Infobox UK place/local|level1=England|level2={{{region}}}|level3={{#if: {{{london_borough|}}}|Greater London|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_county}}}|{{#if: {{{shire_county|}}}|{{{shire_county}}}|{{#if: {{{lieutenancy_england|}}}|{{{lieutenancy_england}}}|{{{unitary_england}}} }} }} }} }}|level4={{#if: {{{london_borough|}}}|{{{london_borough}}}|{{#if: {{{metropolitan_county|}}}|{{{metropolitan_borough}}}|{{#if: {{{shire_county|}}}|{{{shire_district}}}|{{{unitary_england}}} }} }} }}|retrieve=footer}} | |||
| Scotland = [[List of United Kingdom locations|UK]]{{•}} [[List of places in Scotland|Scotland]]{{•}} {{Infobox UK place/local|level1=Scotland|level2={{{unitary_scotland}}}|retrieve=footer}} | |||
| Wales = [[List of United Kingdom locations|UK]]{{•}} [[List of places in Wales|Wales]]{{•}} {{Infobox UK place/local|level1=Wales|level2={{{unitary_wales}}}|retrieve=footer}} | |||
| Northern Ireland = [[List of United Kingdom locations|UK]]{{•}} [[List of places in Northern Ireland|Northern Ireland]]{{•}} {{Infobox UK place/local|level1=Northern Ireland|level2={{{lieutenancy_northern_ireland}}}|retrieve=footer}} | |||
| #default = {{#ifeq: {{{crown_dependency}}}|Isle of Man|{{Infobox UK place/local|level1=Isle of Man|retrieve=footer}}|[[List of United Kingdom locations|United Kingdom]]}} | |||
}}</small></td></tr></table></includeonly><noinclude> | |||
{{esoteric}} | |||
{{pp-template}} | |||
{{documentation}} | |||
</noinclude> |
Latest revision as of 12:23, 29 September 2009
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
[create] Template documentation