Bản mẫu:Infobox UK property/doc
![]() | Đây là một trang con tài liệu dành cho Bản mẫu:Infobox UK property. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
![]() | |
Loại | Medieval castle |
---|---|
Chủ sở hữu | Di sản Anh |
Đặc điểm chính | Castle ruins |
Các đặc điểm khác | Visitor centre |
Bảo tàng | No |
Triển lãm | Yes |
Quốc gia | England |
Vùng | Yorkshire and the Humber |
Hình lưới vuông Anh | SE6183 |
Địa chỉ | Helmsley, North Yorkshire |
Mã bưu chính | YO62 5AB |
Đồ uống giải khát | No |
Chỗ đậu xe | Yes |
Cửa hàng | Yes |
54°14′41″B 1°03′50″T / 54,24472°B 1,06389°T |
This infobox provides a structure that can be used for UK properties ranging from National Trust and English Heritage properties through to gardens (RHS and others) and small nature reserves. The geographic data provide enough information for GPS and web applications while not overwhelming short articles with map images. The |co-ord=
parameter adds a link at the top of the article page.
Usage
[sửa mã nguồn]The template text may be copied and pasted to the article as needed. There are no mandatory fields. All fields accept text strings.
{{Infobox UK property |property_name = |image_name = |image_size = |caption = |type = |NT/EH/RHS = |managed = |area = |main = |other = |public_access = |museum = |exhibition = |country = |region = |gridsquare = |address = |postcode = |refreshments = |parking = |shop = |website = |co_ord = {{coord||||N||||W|display=inline,title|region:GB_type:landmark}} }}
Parameters
[sửa mã nguồn]Parameter | Description |
---|---|
property_name | The usual name of the property. If the parameter is omitted, the article name is used. |
image_name | Image file name and extension. Omit the File: or Image: prefix. |
image_size | Usually set at 200px but can be adjusted up to 300px (infobox width). |
caption | Text for the caption for the image displayed. |
type | The type of property eg garden, house, castle, nature reserve, monument etc.. |
NT/EH/RHS | National Trust, English Heritage, council, private company, estate, etc A value of NT, EH, RHS, NTS, YHA, SYHA, CADW, or HS defaults to linked full name. |
managed | As above, should only be used where owner is not the operator of the property. |
area | Area in hectares, if applicable |
main | The main feature of the property, e.g., ancient manor house, woodland, herb garden, etc. |
other | Any secondary feature eg garden, woodland, outbuildings, etc |
public_access | Yes/no to public visits to the property or words such as Restricted or By arrangement |
museum | Yes/no to the presence of a museum at the property |
exhibition | Yes/no to the presence of an exhibition at the property |
country | The UK country in which the site is located |
region | The name of the UK Region where the site is located. Helps it to be found in handbooks and catalogues. |
gridsquare | The Ordnance Survey UK grid square reference, e.g., "SE2754" (as used by Geograph) |
address | Postal address or road location, e.g., "Off A19 3 miles north of Doncaster" |
postcode | UK postcode for use in SatNav systems; link to postcode area article e.g. [[DA postcode area|DA1 1AA]] |
refreshments | Yes/no |
parking | Yes/no |
shop | Yes/no |
website | Official website address |
co_ord | The geographical co-ordinates of the property, using {{coord}} |
Microformat
[sửa mã nguồn]The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
If the place or venue has an "established", "founded", "opened" or similar date, use {{Start date}}.
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes; nor collapse nested elements which use them.
When giving coordinates, please don't be overly precise.