Template:Infobox UK place/sandbox: Difference between revisions - Wikipedia


Article Images

Content deleted Content added

(9 intermediate revisions by the same user not shown)

Line 29:

***** Map *****-->

| rowclass3 = mergedtoprow

| data3 = {{#switch:{{{map_type}}}

| nomap =

| UK = {{Location map

|{{#if:{{{pushpin_map|}}}|{{{pushpin_map}}}#}}United Kingdom

|width=240 |float=center |caption= |marksize=6 | coordinates = {{{coordinates|}}}

|relief={{{map_relief|}}} |alt={{{map_alt|}}}

|label={{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAMEBASE}}}} |position={{{label_position|}}}

|border=infobox

| data4 |caption={{#if:{{{pushpin_map|}}}||{{#if:{{{coordinates|}}}|{{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAMEBASE}}}} 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 |level2={{{lieutenancy_northern_ireland}}} |retrieve=maptitle}}

| Scotland = {{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland}}} |level3={{#if:{{{map_type|}}}|{{{map_type|}}} |{{#if:{{{shire_district|}}}|{{{shire_district|}}} |{{{lieutenancy_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}} }}

}}}}}}

}}

| #default = {{#if:{{{coordinates|}}}

Line 47 ⟶ 54:

| #default = {{#ifeq:{{{crown_dependency}}}|Isle of Man |{{Infobox UK place/local|level1=Isle of Man|retrieve=map}} |United Kingdom}}

}}<!-- switch -->

|width=240 |float=center |caption= |marksize=6 | coordinates = {{{coordinates|}}}

|relief={{{map_relief|}}} |alt={{{map_alt|}}}

|label={{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAMEBASE}}}} |position={{{label_position|}}}

|border=infobox

}}

|caption={{#if:{{{pushpin_map|}}}|{{{pushpin_map_caption|}}}##}}{{#if:{{{coordinates|}}}|{{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAMEBASE}}}} shown within {{#switch:{{{country}}}

}}

}}

| rowclass4 = mergedbottomrow

| data4 ={{#if:{{{pushpin_map|}}}||{{#if:{{{coordinates|}}}|{{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAMEBASE}}}} 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 |level2={{{lieutenancy_northern_ireland}}} |retrieve=maptitle}}

Line 60 ⟶ 64:

| 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}} }}

}}}}}}<!--

}}

}}

}}

<!--

***** Area *****-->

Line 429 ⟶ 437:

{{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|region:{{#ifeq:{{{crown_dependency|}}}|Isle of Man|IM|GB}}|type:city{{#iferror:{{#expr:{{formatnum:{{{population}}}|R}}*1}}||({{formatnum:{{{population}}}|R}})}}}}

|}}

}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox UK place with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox UK place]] with unknown parameter "_VALUE_"|ignoreblank=y| ambulance_service | ambulance_service1 | area_footnotes | area_total_km2 | area_total_sq_mi | belfast_direction | belfast_distance | belfast_distance_km | belfast_distance_mi | cardiff_direction | cardiff_distance | cardiff_distance_km | cardiff_distance_mi | charingX_direction | charingX_distance | charingX_distance_km | charingX_distance_mi | civil_parish | civil_parish1 | civil_parish2 | community_wales | community_wales1 | community_wales2 | community_wales3 | constituency_manx_parliament | constituency_ni_assembly | constituency_ni_assembly1 | constituency_ni_assembly2 | constituency_ni_assembly3 | constituency_scottish_parliament | constituency_scottish_parliament1 | constituency_scottish_parliament10 | constituency_scottish_parliament2 | constituency_scottish_parliament3 | constituency_scottish_parliament4 | constituency_scottish_parliament5 | constituency_scottish_parliament6 | constituency_scottish_parliament7 | constituency_scottish_parliament8 | constituency_scottish_parliament9 | constituency_welsh_assembly | constituency_welsh_assembly1 | constituency_welsh_assembly2 | constituency_westminster | constituency_westminster1 | constituency_westminster2 | constituency_westminster3 | constituency_westminster4 | constituency_westminster5 | constituency_westminster6 | constituency_westminster7 | constituency_westminster8 | coordinates | cornish_name | councillor1 | councillor2 | councillor3 | councillor4 | councillor5 | councillors | country | country1 | crown_dependency | dial_code | dial_code1 | dial_code2 | douglas_direction | douglas_distance | douglas_distance_km | douglas_distance_mi | dublin_direction | dublin_distance | dublin_distance_km | dublin_distance_mi | edinburgh_direction | edinburgh_distance | edinburgh_distance_km | edinburgh_distance_mi | embedded | gaelic_name | hide_services | irish_grid_reference | irish_name | iso_code | label_position | language | language1 | language2 | lieutenancy_england | lieutenancy_england1 | lieutenancy_england2 | lieutenancy_england3 | lieutenancy_northern_ireland | lieutenancy_northern_ireland1 | lieutenancy_northern_ireland2 | lieutenancy_scotland | lieutenancy_scotland1 | lieutenancy_scotland2 | lieutenancy_scotland3 | lieutenancy_wales | lieutenancy_wales1 | lieutenancy_wales2 | lieutenancy_wales3 | local_name | london_borough | london_borough1 | london_borough2 | london_borough3 | london_borough4 | london_direction | london_distance | london_distance_km | london_distance_mi | manx_name | manx_parish | manx_sheading | manx_shedding | map_alt | map_relief | map_type | metropolitan_borough | metropolitan_borough1 | metropolitan_borough2 | metropolitan_borough3 | metropolitan_county | metropolitan_county1 | metropolitan_county2 | metropolitan_county3 | official_name | os_grid_reference | other_language | other_language_name | party1 | party2 | party3 | party4 | party5 | population | population_demonym | population_density | population_ref | post_town | post_town1 | post_town2 | postcode_area | postcode_area1 | postcode_area2 | postcode_district | postcode_district1 | postcode_district2 | region | region1 | scale | scots_name | shire_county | shire_county1 | shire_county2 | shire_county3 | shire_district | shire_district1 | shire_district2 | shire_district3 | static_image | static_image_2 | static_image_2_alt | static_image_2_caption | static_image_2_name | static_image_2_width | static_image_alt | static_image_caption | static_image_name | static_image_width | statistic | statistic_title | statistic_title1 | statistic_title2 | statistic1 | statistic2 | type | unitary_england | unitary_england1 | unitary_england2 | unitary_england3 | unitary_northern_ireland | unitary_northern_ireland1 | unitary_northern_ireland2 | unitary_northern_ireland3 | unitary_scotland | unitary_scotland1 | unitary_scotland2 | unitary_scotland3 | unitary_wales | unitary_wales1 | unitary_wales2 | unitary_wales3 | website | welsh_name |pushpin_map_caption }}<noinclude>

{{Documentation}}

</noinclude>