사용자:밥풀떼기/Template:Infobox UK place
이 틀은 구조가 복잡하고, 많은 기능을 포함하고 있습니다. 틀의 구조를 충분히 이해하기 전까지는 이 틀을 바꾸지 마시고, 편집 후 문제가 생기면 바로 되돌리기 해 주세요. 틀의 시험은 /시험장에서 해볼 수 있습니다. |
{{Infobox UK place}}는 영국에 있는 장소 (거주지 등)에 관한 문서에 쓰이기 위해 만들어진 틀입니다. 위치지도, 그림, 그림 설명, 그 장소에 대한 자세한 정보 (인구, 정치, 공공시설 등)을 보여 줍니다. 이 틀과 관련해서 유사한 방식으로 구성된 Template:Infobox UK feature은 정치 등의 항목이 필요없는 다리, 성, 언덕 등의 지형을 위해서 만들어진 틀입니다.
기본 틀
편집예시 항목에서 다음과 같은 예에 대한 대표적인 정보상자와 그 코드를 볼 수 있습니다. 이 코드를 줄여서 새 문서에 붙여넣을 수 있습니다. 예시는 다음과 같습니다.
전체 틀
편집(아무것도 보이지 않을 시에는 스크롤을 내려 주세요)
변수
편집For automated features
편집(Scroll down if nothing visible)
Feature | Required fields |
---|---|
Basic function | official_name – defaults to {{{PAGENAME}}} country (?) England only: region (?) |
Maps | latitude longitude country England only: region (= London) OR metropolitan_county OR shire_county OR unitary_england (= Bristol, Isle of Wight, Southampton) Scotland only: unitary_scotland Note that by default, the coordinates are displayed to the right of the title, at the top of the page. This can cause an error if there is more than one set of coordinates in the article. To override the display in the title, use |
Services | country unitary_scotland (?) OR unitary_england (?) OR unitary_northern_ireland (?) OR unitary_wales (?) OR london_borough (?) OR metropolitan_borough (?) OR shire_district (?) England only: shire_county (?) OR metropolitan_county (?) OR lieutenancy_england (?) England only: region Vale of White Horse and Hart districts only: ambulance_service (needs to be populated) |
Postal | post_town (?) postcode_area (?) postcode_district |
European Parliament | country England only: region |
London Assembly | london_borough |
Footer lists | country london_borough OR shire_county OR metropolitan_county OR lieutenancy_england OR unitary_scotland OR unitary_wales OR lieutenancy_northern_ireland |
Commonly used
편집(Scroll down if nothing visible)
Although not required for any of the automation, the following fields should normally be filled in |
---|
For optional features
편집(Scroll down if nothing visible)
Optional feature | Required fields |
---|---|
Other language names | gaelic_name OR scots_name OR welsh_name OR irish_name OR cornish_name OR manx_name |
Any other language name | other_language AND other_language_name local_name |
Languages spoken | language |
Static image(s) | static_image (deprecated) static_image_name static_image_width - defaults to 240px wide to match the maps. static_image_caption static_image_alt (see WP:ALT) static_image_2 (deprecated) static_image_2_name static_image_2_width - defaults to 240px wide to match the maps. static_image_2_caption static_image_2_alt |
Map label position | label_position Used to adjust position of label by dot on map– options are top, bottom, left, right, or none – defaults to right |
Area | area_total_sq_mi area_total_km2 area_footnotes Only one value needs to be entered as a number and it will be automatically formatted and converted to opposite system |
Population figures | population – must be a number population_density – will be calculated automatically if area and population are present population_ref (A good place to find the population figures is at neighbourhood.statistics.gov.uk) For Census 2001 use | population_ref = <ref>[[United Kingdom Census 2001|Census 2001]]</ref> |
Distance from capitals | Replace <capital> with belfast, cardiff, douglas, dublin, edinburgh, or london <capital>_distance_mi <capital>_distance_km Only one value needs to be entered as a number and it will be automatically formatted and converted to opposite system <capital>_distance Used for footnotes or direction – see Boxing the compass <capital_direction> Enter direction to capital e.g. W, E, NE, SW – it will be linked to Boxing the compass (Distances "as the crow flies" can be found from Genuki, or postcode.org.uk) |
Distance within London | Same as Distance from capitals above – replace <capital> with charingX |
Civil parish or Community | civil_parish OR community_wales (?) |
Website link | website WARNING: overlong urls may result in the sides of the infobox being pushed sideways. If so, use a short link to the url e.g. [longurl.co.uk/home.html Short name] |
Places split by boundaries
편집(Scroll down if nothing visible)
Places split by boundaries |
---|
Many locations straddle the boundaries of post towns, constituencies, districts or regions. Where a place straddles these, they can be accommodated with its own field:
There are slightly more "esoteric" extras to handle some tricky situations of division splits, which, if needed, can be explained by contacting one of the users involved in this template's construction. |
TemplateData
편집Intended for use with articles about places i.e. human settlements in the United Kingdom. It has provision for a location map, images, captions, and detailed information about the place e.g. population, governance, and public services. There is an associated Template:Infobox UK feature which operates in a similar manner and is intended for features such as bridges, castles, and hills which do not require the options about governance etc.
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
공식 명칭 (official_name) | 공식명칭 | 비워놓을 경우 {{{PAGENAME}}} | 문자열 | 선택 사항 |
현지 명칭 (local_name) | 현지명칭 |
| 문자열 | 선택 사항 |
국가 (country) | 국가 | 잉글랜드, 북아일랜드, 웨일스, 스코틀랜드 - [[링크]]는 달지 마세요 (EU 선거구도 제외) | 문자열 | 선택 사항 |
왕실령 (crown_dependency) | 왕실령 | 맨 섬 - [[링크]]는 달지 마세요 (이 변수는 영국이란 형식적으로 붙는 언급을 없애 줍니다) | 문자열 | 선택 사항 |
지역 (region) | 지역 | (잉글랜드 한정) [[링크]]는 달지 마세요 (EU 선거구도 제외) | 문자열 | 선택 사항 |
지역1 (region1) | 지역1 | 여러 지역 간에 갈린 장소일 경우에 사용 | 문자열 | 선택 사항 |
그림 (static_image) | 그림 | 지금은 '그림 이름' (아래의 변수)으로 대체되어 사용되지 않고 있습니다. 그림 (대부분의 경우 스카이라인이나 랜드마크)을 표시할때 사용합니다 | 문자열 | 선택 사항 |
그림 이름 (static_image_name) | 그림이름 | 그 장소의 모습 (스카이라인이나 대표적인 현지 랜드마크 등)을 표시할 때 사용되는 변수 | 문자열 | 선택 사항 |
그림 너비 (static_image_width) | 그림너비 | 그림의 너비를 조절해 줍니다. 웬만한 경우엔 누락해 주세요 (이 경우 240에 맞춰짐) | 숫자 | 선택 사항 |
그림 설명 (static_image_caption) | 그림설명 | 그림의 설명 | 문자열 | 선택 사항 |
그림 대체설명 (static_image_alt) | 그림대체설명 | 그림의 묘사 ([[백:대체설명]] 참고) | 문자열 | 선택 사항 |
그림2 (static_image_2) | 그림2 | 지금은 '그림2 이름' (아래의 변수)으로 대체되어 사용되지 않고 있습니다. 두번째 그림 (마을 문장 등)을 표시할때 사용합니다 | 문자열 | 선택 사항 |
그림2 이름 (static_image_2_name) | 그림2이름 | 두번째 그림 (마을 문장 등)을 표시할 때 사용되는 변수. 파일이름.jpg 형식으로 써주세요 | 문자열 | 선택 사항 |
그림2 너비 (static_image_2_width) | 그림2너비 | 그림의 너비를 조절해 줍니다. 240 이하로 맞춰 주세요 | 숫자 | 선택 사항 |
그림2 설명 (static_image_2_caption) | 그림2설명 | 그림 설명 | 문자열 | 선택 사항 |
그림2 대체설명 (static_image_2_alt) | 그림2대체설명 | 그림의 묘사 ([[백:대체설명]] 참고) | 문자열 | 선택 사항 |
마일 단위 총면적 (area_total_sq_mi) | 총면적마일 | 면적 (마일) 정보 - 숫자만 써주세요. 자동으로 뒤에 mi가 붙습니다. 단 대한민국에서는 마일보다 제곱킬로미터를 사용하는 것이 보통이므로 누락하는 것이 좋습니다 | 숫자 | 선택 사항 |
제곱킬로미터 단위 총면적 (area_total_km2) | 총면적제곱킬로미터 | 면적 (제곱킬로미터) 정보 - 숫자만 써주세요. 자동으로 뒤에 km<sup>2</sup>가 붙습니다 | 숫자 | 선택 사항 |
총 면적에 대한 각주 (area_footnotes) | 총면적각주 | 면적 영역에 사용된 의미를 각주로 달기 위한 변수. <ref> </ref> 태그를 써주세요 | 문자열 | 선택 사항 |
인구 (population) | 인구 | 숫자만 써주세요 | 숫자 | 선택 사항 |
인구에 대한 출처 (population_ref) | 인구출처 | 출처가 들어갑니다. 예를 들면 <ref>Census, 2001</ref> | 문자열 | 선택 사항 |
인구 밀도 (population_density) | 인구밀도 | 제곱킬러미터 단위. 원문에서 마일로만 되어있을 경우 환산한 다음 마일 단위의 정보는 제거해 주세요 | 문자열 | 선택 사항 |
statistic | statistic | 문자열 | 선택 사항 | |
statistic title | statistic_title | 문자열 | 선택 사항 | |
statistic1 | statistic1 | 문자열 | 선택 사항 | |
statistic title1 | statistic_title1 | 문자열 | 선택 사항 | |
statistic2 | statistic2 | 문자열 | 선택 사항 | |
statistic title2 | statistic_title2 | 문자열 | 선택 사항 | |
population demonym | population_demonym |
| 문자열 | 선택 사항 |
os grid reference | os_grid_reference |
| 문자열 | 선택 사항 |
map type | map_type | type of map (leave blank for default map, or set to nomap, UK or Greater Belfast to force a particular map) | 문자열 | 선택 사항 |
map alt | map_alt | alt text for map, for visually impaired and other readers who cannot see the image; see </nowiki>[[WP:ALT]]<nowiki> | 문자열 | 선택 사항 |
longitude | longitude | location of the place, puts a dot on the map | 문자열 | 선택 사항 |
latitude | latitude | location of the place, puts a dot on the map | 문자열 | 선택 사항 |
label position | label_position | adjust position of label by dot – defaults to right | 문자열 | 선택 사항 |
scale | scale | optionally include a scale parameter in the coordinates link (default is city scale) | 문자열 | 선택 사항 |
post town | post_town | e.g. UXBRIDGE - converted automatically to upper case | 문자열 | 선택 사항 |
post town1 | post_town1 | for places in more than one post town | 문자열 | 선택 사항 |
post town2 | post_town2 | for places in more than one post town | 문자열 | 선택 사항 |
postcode area | postcode_area | e.g. UB | 문자열 | 선택 사항 |
postcode area1 | postcode_area1 | for places in more than one postcode area | 문자열 | 선택 사항 |
postcode area2 | postcode_area2 | for places in more than one postcode area | 문자열 | 선택 사항 |
postcode district | postcode_district | e.g. UB1, UB2 (this is displayed) | 문자열 | 선택 사항 |
postcode district1 | postcode_district1 | for places in more than one postcode area | 문자열 | 선택 사항 |
postcode district2 | postcode_district2 | for places in more than one postcode area | 문자열 | 선택 사항 |
dial code | dial_code | e.g. 020, 0161 or 01332 - NOT +44... | 문자열 | 선택 사항 |
dial code1 | dial_code1 | for places with more than one dial code | 문자열 | 선택 사항 |
dial code2 | dial_code2 | for places with more than one dial code | 문자열 | 선택 사항 |
constituency westminster | constituency_westminster | Use a link. e.g. [[Chiltern Hundreds]] | 문자열 | 선택 사항 |
constituency westminster1 | constituency_westminster1 | for places in more than one constituency. Use a link. | 문자열 | 선택 사항 |
constituency westminster2 | constituency_westminster2 | for places in more than one constituency. Use a link. | 문자열 | 선택 사항 |
constituency westminster3 | constituency_westminster3 | for places in more than one constituency. Use a link. | 문자열 | 선택 사항 |
civil parish | civil_parish | for places within a parish. Use a link, e.g. [[Odd Rode]] | 문자열 | 선택 사항 |
civil parish1 | civil_parish1 | for places in more than one parish. Use a link. | 문자열 | 선택 사항 |
london distance mi | london_distance_mi | for UK articles (outside of Greater London), distance to London as the crow flies | 숫자 | 선택 사항 |
london distance km | london_distance_km |
| 숫자 | 선택 사항 |
london distance | london_distance |
| 숫자 | 선택 사항 |
london direction | london_direction |
| 문자열 | 선택 사항 |
belfast distance mi | belfast_distance_mi | NORTHERN IRISH articles only, distance to Belfast as the crow flies | 숫자 | 선택 사항 |
belfast distance km | belfast_distance_km |
| 숫자 | 선택 사항 |
belfast distance | belfast_distance |
| 숫자 | 선택 사항 |
belfast direction | belfast_direction |
| 문자열 | 선택 사항 |
cardiff distance mi | cardiff_distance_mi | WELSH articles only, distance to Cardiff as the crow flies | 숫자 | 선택 사항 |
cardiff distance km | cardiff_distance_km |
| 숫자 | 선택 사항 |
cardiff distance | cardiff_distance |
| 숫자 | 선택 사항 |
cardiff direction | cardiff_direction |
| 문자열 | 선택 사항 |
dublin distance mi | dublin_distance_mi | distance to Dublin – may be relevant to NORTHERN IRISH articles as the crow flies | 숫자 | 선택 사항 |
dublin distance km | dublin_distance_km |
| 숫자 | 선택 사항 |
dublin distance | dublin_distance |
| 숫자 | 선택 사항 |
dublin direction | dublin_direction |
| 문자열 | 선택 사항 |
edinburgh distance mi | edinburgh_distance_mi | SCOTTISH articles only, distance to Edinburgh as the crow flies | 숫자 | 선택 사항 |
edinburgh distance km | edinburgh_distance_km |
| 숫자 | 선택 사항 |
edinburgh distance | edinburgh_distance |
| 숫자 | 선택 사항 |
edinburgh direction | edinburgh_direction |
| 문자열 | 선택 사항 |
douglas distance mi | douglas_distance_mi | MANX articles only, distance to Douglas as the crow flies | 숫자 | 선택 사항 |
douglas distance km | douglas_distance_km |
| 숫자 | 선택 사항 |
douglas distance | douglas_distance |
| 숫자 | 선택 사항 |
douglas direction | douglas_direction |
| 문자열 | 선택 사항 |
charingX distance mi | charingX_distance_mi | for places WITHIN Greater London ONLY as the crow flies | 숫자 | 선택 사항 |
charingX distance km | charingX_distance_km |
| 숫자 | 선택 사항 |
charingX distance | charingX_distance |
| 숫자 | 선택 사항 |
charingX direction | charingX_direction |
| 문자열 | 선택 사항 |
gaelic name | gaelic_name |
| 문자열 | 선택 사항 |
scots name | scots_name |
| 문자열 | 선택 사항 |
unitary scotland | unitary_scotland |
| 문자열 | 선택 사항 |
unitary scotland1 | unitary_scotland1 | for places in more than one | 문자열 | 선택 사항 |
lieutenancy scotland | lieutenancy_scotland |
| 문자열 | 선택 사항 |
lieutenancy scotland1 | lieutenancy_scotland1 | for places in more than one | 문자열 | 선택 사항 |
constituency scottish parliament | constituency_scottish_parliament |
| 문자열 | 선택 사항 |
constituency scottish parliament1 | constituency_scottish_parliament1 | for places in more than one constituency | 문자열 | 선택 사항 |
constituency scottish parliament2 | constituency_scottish_parliament2 | for places in more than one constituency | 문자열 | 선택 사항 |
welsh name | welsh_name |
| 문자열 | 선택 사항 |
community wales | community_wales | Use a link, e.g. [[Eglwyscummin]] | 문자열 | 선택 사항 |
unitary wales | unitary_wales |
| 문자열 | 선택 사항 |
unitary wales1 | unitary_wales1 | for places in more than one | 문자열 | 선택 사항 |
lieutenancy wales | lieutenancy_wales |
| 문자열 | 선택 사항 |
lieutenancy wales1 | lieutenancy_wales1 | for places in more than one | 문자열 | 선택 사항 |
constituency welsh assembly | constituency_welsh_assembly |
| 문자열 | 선택 사항 |
constituency welsh assembly1 | constituency_welsh_assembly1 | for places in more than one constituency | 문자열 | 선택 사항 |
constituency welsh assembly2 | constituency_welsh_assembly2 | for places in more than one constituency | 문자열 | 선택 사항 |
irish name | irish_name |
| 문자열 | 선택 사항 |
irish grid reference | irish_grid_reference |
| 문자열 | 선택 사항 |
unitary northern ireland | unitary_northern_ireland |
| 문자열 | 선택 사항 |
unitary northern ireland1 | unitary_northern_ireland1 | for places in more than one | 문자열 | 선택 사항 |
unitary northern ireland2 | unitary_northern_ireland2 | for places in more than one | 문자열 | 선택 사항 |
lieutenancy northern ireland | lieutenancy_northern_ireland |
| 문자열 | 선택 사항 |
lieutenancy northern ireland1 | lieutenancy_northern_ireland1 | for places in more than one | 문자열 | 선택 사항 |
lieutenancy northern ireland2 | lieutenancy_northern_ireland2 | for places in more than one | 문자열 | 선택 사항 |
constituency ni assembly | constituency_ni_assembly |
| 문자열 | 선택 사항 |
constituency ni assembly1 | constituency_ni_assembly1 | for places in more than one | 문자열 | 선택 사항 |
manx name | manx_name |
| 문자열 | 선택 사항 |
manx parish | manx_parish | for places in the Isle of Man | 문자열 | 선택 사항 |
manx shedding | manx_shedding | for places in the Isle of Man, also generates emergency services | 문자열 | 선택 사항 |
constituency manx parliament | constituency_manx_parliament | for House of Keys constituency | 문자열 | 선택 사항 |
metropolitan borough | metropolitan_borough |
| 문자열 | 선택 사항 |
metropolitan borough1 | metropolitan_borough1 | for places in more than one | 문자열 | 선택 사항 |
metropolitan county | metropolitan_county | Use a link. e.g. [[Tyne and Wear]] | 문자열 | 선택 사항 |
metropolitan county1 | metropolitan_county1 | for places in more than one | 문자열 | 선택 사항 |
shire district | shire_district |
| 문자열 | 선택 사항 |
shire district1 | shire_district1 | for places in more than one | 문자열 | 선택 사항 |
shire county | shire_county | Use a link. e.g. [[Devon]] | 문자열 | 선택 사항 |
shire county1 | shire_county1 | for places in more than one | 문자열 | 선택 사항 |
unitary england | unitary_england |
| 문자열 | 선택 사항 |
unitary england1 | unitary_england1 | for places in more than one | 문자열 | 선택 사항 |
lieutenancy england | lieutenancy_england | not required where shire or metropolitan is the same | 문자열 | 선택 사항 |
lieutenancy england1 | lieutenancy_england1 | for places in more than one | 문자열 | 선택 사항 |
london borough | london_borough | this should not be linked and simplified: e.g. Bromley NOT [[London Borough of Bromley]] | 문자열 | 선택 사항 |
london borough1 | london_borough1 | for places in more than one borough (also produces London Assembly constituency) | 문자열 | 선택 사항 |
london borough2 | london_borough2 | for places in more than one borough (also produces London Assembly constituency) | 문자열 | 선택 사항 |
london borough3 | london_borough3 | special cases, does not produce London Assembly constituency) | 문자열 | 선택 사항 |
london borough4 | london_borough4 | special cases, does not produce London Assembly constituency) | 문자열 | 선택 사항 |
cornish name | cornish_name |
| 문자열 | 선택 사항 |
other language name | other_language_name | any other alternative language name | 문자열 | 선택 사항 |
other language | other_language | any other alternative language name | 문자열 | 선택 사항 |
language | language | any locally spoken languages | 문자열 | 선택 사항 |
language1 | language1 | any locally spoken languages | 문자열 | 선택 사항 |
language2 | language2 | any locally spoken languages | 문자열 | 선택 사항 |
website | website | Council website for place (specifically) | 문자열 | 선택 사항 |
hide services | hide_services | Set to Yes to turn off Police/Fire/Ambulance | 문자열 | 선택 사항 |