사용자:밥풀떼기/Template:Infobox UK place/설명문서

위키백과, 우리 모두의 백과사전.

틀:Convert to use Infobox


{{Infobox UK place}}는 영국에 있는 장소 (거주지 등)에 관한 문서에 쓰이기 위해 만들어진 틀입니다. 위치지도, 그림, 그림 설명, 그 장소에 대한 자세한 정보 (인구, 정치, 공공시설 등)을 보여 줍니다. 이 틀과 관련해서 유사한 방식으로 구성된 Template:Infobox UK feature은 정치 등의 항목이 필요없는 다리, 성, 언덕 등의 지형을 위해서 만들어진 틀입니다.

기본 틀[편집]

예시 항목에서 다음과 같은 예에 대한 대표적인 정보상자와 그 코드를 볼 수 있습니다. 이 코드를 줄여서 새 문서에 붙여넣을 수 있습니다. 예시는 다음과 같습니다.

맨 섬
북아일랜드
스코틀랜드
웨일스
잉글랜드 – 다음과 같이 지역에 따라 각각 다른 구조를 지닙니다.
그레이터런던
시티오브런던
대도시권 주 (그레이터맨체스터, 머지사이드, 타인앤드위어, 사우스요크셔, 웨스트요크셔, 웨스트미들랜즈)
비도시주 내의 비도시 자치구
그중에서도 동명의 교구 내에 있을 경우
비도시주 내의 통합자치구
독립 통합자치구 (헤리포드셔, 러틀랜드, 브리스톨, 아일오브와이트)

전체 틀[편집]

(아무것도 보이지 않을 시에는 스크롤을 내려 주세요)

틀:Infobox UK place/full syntax

변수[편집]

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 |coordinates_display=inline

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
  • constituency_westminster (?)
  • map_alt
  • os_grid_reference OR irish_grid_reference
  • dial_code (this may be of help finding the dialling code)
  • Northern Ireland only: lieutenancy_northern_ireland (?)
  • Wales only: lieutenancy_wales (?)
  • Scotland only: lieutenancy_scotland (?)

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:

  • post_town AND post_town1 AND post_town2
  • civil_parish AND civil_parish1
  • shire_district AND shire_district1 AND shire_district2
  • region AND region1
  • westminster_constituency AND westminster_constituency1 AND westminster_constituency2

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)인구밀도

제곱킬러미터 단위. 원문에서 마일로만 되어있을 경우 환산한 다음 마일 단위의 정보는 제거해 주세요

문자열선택 사항
statisticstatistic

문자열선택 사항
statistic titlestatistic_title

문자열선택 사항
statistic1statistic1

문자열선택 사항
statistic title1statistic_title1

문자열선택 사항
statistic2statistic2

문자열선택 사항
statistic title2statistic_title2

문자열선택 사항
population demonympopulation_demonym

문자열선택 사항
os grid referenceos_grid_reference

문자열선택 사항
map typemap_type

type of map (leave blank for default map, or set to nomap, UK or Greater Belfast to force a particular map)

문자열선택 사항
map altmap_alt

alt text for map, for visually impaired and other readers who cannot see the image; see </nowiki>[[WP:ALT]]<nowiki>

문자열선택 사항
longitudelongitude

location of the place, puts a dot on the map

문자열선택 사항
latitudelatitude

location of the place, puts a dot on the map

문자열선택 사항
label positionlabel_position

adjust position of label by dot – defaults to right

문자열선택 사항
scalescale

optionally include a scale parameter in the coordinates link (default is city scale)

문자열선택 사항
post townpost_town

e.g. UXBRIDGE - converted automatically to upper case

문자열선택 사항
post town1post_town1

for places in more than one post town

문자열선택 사항
post town2post_town2

for places in more than one post town

문자열선택 사항
postcode areapostcode_area

e.g. UB

문자열선택 사항
postcode area1postcode_area1

for places in more than one postcode area

문자열선택 사항
postcode area2postcode_area2

for places in more than one postcode area

문자열선택 사항
postcode districtpostcode_district

e.g. UB1, UB2 (this is displayed)

문자열선택 사항
postcode district1postcode_district1

for places in more than one postcode area

문자열선택 사항
postcode district2postcode_district2

for places in more than one postcode area

문자열선택 사항
dial codedial_code

e.g. 020, 0161 or 01332 - NOT +44...

문자열선택 사항
dial code1dial_code1

for places with more than one dial code

문자열선택 사항
dial code2dial_code2

for places with more than one dial code

문자열선택 사항
constituency westminsterconstituency_westminster

Use a link. e.g. [[Chiltern Hundreds]]

문자열선택 사항
constituency westminster1constituency_westminster1

for places in more than one constituency. Use a link.

문자열선택 사항
constituency westminster2constituency_westminster2

for places in more than one constituency. Use a link.

문자열선택 사항
constituency westminster3constituency_westminster3

for places in more than one constituency. Use a link.

문자열선택 사항
civil parishcivil_parish

for places within a parish. Use a link, e.g. [[Odd Rode]]

문자열선택 사항
civil parish1civil_parish1

for places in more than one parish. Use a link.

문자열선택 사항
london distance milondon_distance_mi

for UK articles (outside of Greater London), distance to London as the crow flies

숫자선택 사항
london distance kmlondon_distance_km

숫자선택 사항
london distancelondon_distance

숫자선택 사항
london directionlondon_direction

문자열선택 사항
belfast distance mibelfast_distance_mi

NORTHERN IRISH articles only, distance to Belfast as the crow flies

숫자선택 사항
belfast distance kmbelfast_distance_km

숫자선택 사항
belfast distancebelfast_distance

숫자선택 사항
belfast directionbelfast_direction

문자열선택 사항
cardiff distance micardiff_distance_mi

WELSH articles only, distance to Cardiff as the crow flies

숫자선택 사항
cardiff distance kmcardiff_distance_km

숫자선택 사항
cardiff distancecardiff_distance

숫자선택 사항
cardiff directioncardiff_direction

문자열선택 사항
dublin distance midublin_distance_mi

distance to Dublin – may be relevant to NORTHERN IRISH articles as the crow flies

숫자선택 사항
dublin distance kmdublin_distance_km

숫자선택 사항
dublin distancedublin_distance

숫자선택 사항
dublin directiondublin_direction

문자열선택 사항
edinburgh distance miedinburgh_distance_mi

SCOTTISH articles only, distance to Edinburgh as the crow flies

숫자선택 사항
edinburgh distance kmedinburgh_distance_km

숫자선택 사항
edinburgh distanceedinburgh_distance

숫자선택 사항
edinburgh directionedinburgh_direction

문자열선택 사항
douglas distance midouglas_distance_mi

MANX articles only, distance to Douglas as the crow flies

숫자선택 사항
douglas distance kmdouglas_distance_km

숫자선택 사항
douglas distancedouglas_distance

숫자선택 사항
douglas directiondouglas_direction

문자열선택 사항
charingX distance micharingX_distance_mi

for places WITHIN Greater London ONLY as the crow flies

숫자선택 사항
charingX distance kmcharingX_distance_km

숫자선택 사항
charingX distancecharingX_distance

숫자선택 사항
charingX directioncharingX_direction

문자열선택 사항
gaelic namegaelic_name

문자열선택 사항
scots namescots_name

문자열선택 사항
unitary scotlandunitary_scotland

문자열선택 사항
unitary scotland1unitary_scotland1

for places in more than one

문자열선택 사항
lieutenancy scotlandlieutenancy_scotland

문자열선택 사항
lieutenancy scotland1lieutenancy_scotland1

for places in more than one

문자열선택 사항
constituency scottish parliamentconstituency_scottish_parliament

문자열선택 사항
constituency scottish parliament1constituency_scottish_parliament1

for places in more than one constituency

문자열선택 사항
constituency scottish parliament2constituency_scottish_parliament2

for places in more than one constituency

문자열선택 사항
welsh namewelsh_name

문자열선택 사항
community walescommunity_wales

Use a link, e.g. [[Eglwyscummin]]

문자열선택 사항
unitary walesunitary_wales

문자열선택 사항
unitary wales1unitary_wales1

for places in more than one

문자열선택 사항
lieutenancy waleslieutenancy_wales

문자열선택 사항
lieutenancy wales1lieutenancy_wales1

for places in more than one

문자열선택 사항
constituency welsh assemblyconstituency_welsh_assembly

문자열선택 사항
constituency welsh assembly1constituency_welsh_assembly1

for places in more than one constituency

문자열선택 사항
constituency welsh assembly2constituency_welsh_assembly2

for places in more than one constituency

문자열선택 사항
irish nameirish_name

문자열선택 사항
irish grid referenceirish_grid_reference

문자열선택 사항
unitary northern irelandunitary_northern_ireland

문자열선택 사항
unitary northern ireland1unitary_northern_ireland1

for places in more than one

문자열선택 사항
unitary northern ireland2unitary_northern_ireland2

for places in more than one

문자열선택 사항
lieutenancy northern irelandlieutenancy_northern_ireland

문자열선택 사항
lieutenancy northern ireland1lieutenancy_northern_ireland1

for places in more than one

문자열선택 사항
lieutenancy northern ireland2lieutenancy_northern_ireland2

for places in more than one

문자열선택 사항
constituency ni assemblyconstituency_ni_assembly

문자열선택 사항
constituency ni assembly1constituency_ni_assembly1

for places in more than one

문자열선택 사항
manx namemanx_name

문자열선택 사항
manx parishmanx_parish

for places in the Isle of Man

문자열선택 사항
manx sheddingmanx_shedding

for places in the Isle of Man, also generates emergency services

문자열선택 사항
constituency manx parliamentconstituency_manx_parliament

for House of Keys constituency

문자열선택 사항
metropolitan boroughmetropolitan_borough

문자열선택 사항
metropolitan borough1metropolitan_borough1

for places in more than one

문자열선택 사항
metropolitan countymetropolitan_county

Use a link. e.g. [[Tyne and Wear]]

문자열선택 사항
metropolitan county1metropolitan_county1

for places in more than one

문자열선택 사항
shire districtshire_district

문자열선택 사항
shire district1shire_district1

for places in more than one

문자열선택 사항
shire countyshire_county

Use a link. e.g. [[Devon]]

문자열선택 사항
shire county1shire_county1

for places in more than one

문자열선택 사항
unitary englandunitary_england

문자열선택 사항
unitary england1unitary_england1

for places in more than one

문자열선택 사항
lieutenancy englandlieutenancy_england

not required where shire or metropolitan is the same

문자열선택 사항
lieutenancy england1lieutenancy_england1

for places in more than one

문자열선택 사항
london boroughlondon_borough

this should not be linked and simplified: e.g. Bromley NOT [[London Borough of Bromley]]

문자열선택 사항
london borough1london_borough1

for places in more than one borough (also produces London Assembly constituency)

문자열선택 사항
london borough2london_borough2

for places in more than one borough (also produces London Assembly constituency)

문자열선택 사항
london borough3london_borough3

special cases, does not produce London Assembly constituency)

문자열선택 사항
london borough4london_borough4

special cases, does not produce London Assembly constituency)

문자열선택 사항
cornish namecornish_name

문자열선택 사항
other language nameother_language_name

any other alternative language name

문자열선택 사항
other languageother_language

any other alternative language name

문자열선택 사항
languagelanguage

any locally spoken languages

문자열선택 사항
language1language1

any locally spoken languages

문자열선택 사항
language2language2

any locally spoken languages

문자열선택 사항
websitewebsite

Council website for place (specifically)

문자열선택 사항
hide serviceshide_services

Set to Yes to turn off Police/Fire/Ambulance

문자열선택 사항

Microformat[편집]

틀:UF-hcard-geo