Bước tới nội dung

Bản mẫu:Thông tin địa điểm/doc

Bách khoa toàn thư mở Wikipedia

Bản mẫu này tạo ra một hộp thông tin để tóm tắt thông tin về sân vận động, trường đấu hoặc các địa điểm thể thao khác, cũng như rạp hát và rạp chiếu phim.

Cách sử dụng Bản mẫu:Thông tin địa điểm/doc

{{{name}}}
{{{native_name}}}
{{{nickname}}}
[[File:{{{logo_image}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright=1]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{image_upright}}}]]
{{{image_caption}}}
[[File:{{{image_map}}}|{{{map_size}}}|alt={{{map_alt}}}|upright=1]]
{{{map_caption}}}
Tên đầy đủ{{{fullname}}}
Tên cũ{{{former names}}}
Địa chỉ{{{address}}}
{{{city}}}
{{{country}}}
Vị trí{{{location}}}
Tọa độ{{{coordinates}}}
Độ cao{{{elevation}}}
Giao thông công cộng{{{publictransit}}}
Bãi đỗ xe{{{parking}}}
Chủ sở hữu{{{owner}}}
Nhà điều hành{{{operator}}}
Ký hiệu{{{designation}}}
Loại{{{type}}}
Thể loại{{{genre}}}
Loại ghế ngồi{{{seating_type}}}
Số phòng điều hành{{{suites}}}
Sức chứa{{{capacity}}}
Kỷ lục khán giả{{{record_attendance}}}
Kích thước sân{{{dimensions}}}
Hình dạng sân{{{field_shape}}}
Diện tích{{{acreage}}}
Mặt sân{{{surface}}}
Bảng điểm{{{scoreboard}}}
Màn hình{{{screens}}}
Sử dụng hiện tại{{{currentuse}}}
Sản xuất{{{production}}}
Công trình xây dựng
Khởi công{{{broke ground}}}
Được xây dựng{{{built}}}
Khánh thành{{{opened}}}
Sửa chữa lại{{{renovated}}}
Mở rộng{{{expanded}}}
Đóng cửa{{{closed}}}
Mở cửa lại{{{reopened}}}
Phá hủy{{{demolished}}}
Xây dựng lại{{{rebuilt}}}
Năm hoạt động{{{yearsactive}}}
Chi phí xây dựng{{{cost}}}
Kiến trúc sư{{{architect}}}
Người xây dựng{{{builder}}}
Quản lý dự án{{{project manager}}}
Kỹ sư kết cấu{{{structural engineer}}}
Kỹ sư dịch vụ{{{services engineer}}}
Nhà thầu chung{{{general contractor}}}
Nhà thầu chính{{{main contractors}}}
Bên thuê sân
{{{tenants}}}
Trang web
{{{website}}}
{{{embedded}}}
Cú pháp đầy đủ
{{Hộp thông tin địa điểm| name = | native_name = | native_name_lang = | nickname = | logo_image = | logo_size = | logo_alt = | logo_caption = | image = | image_size = | image_upright = | image_alt = | caption = | image_map = | map_size = | map_alt = | map_caption = | pushpin_map = | pushpin_mapsize = | pushpin_map_caption = | pushpin_label_position = | pushpin_relief = | fullname = | former names = | address = | city = | country = | location = | coordinates = <!-- {{tọa độ|LAT|LON|type:landmark|display=inline,title}} -->| elevation = <!-- {{cvt|...|ft|m}} hoặc {{cvt|...|m|ft}} -->| publictransit = | parking = | owner = | operator = | designation = | type = | genre = | seating_type = | suites = | capacity = | record_attendance = | dimensions = | field_shape = | acreage = | surface = | scoreboard = | screens = | currentuse = | production = | broke_ground = | built = | opened = <!-- {{Start date|YYYY|MM|DD|df=y}} -->| renovated = | expanded = | closed = | demolished = | rebuilt = | yearsactive = | cost = | architect = | builder = | project_manager = | structural engineer = | services engineer = | general_contractor = | main_contractors = | tenants = | website = <!-- {{URL|example.com}} -->| embedded = }}

Các tham số Bản mẫu:Thông tin địa điểm/doc

Tất cả các thuộc tính là tùy chọn.

Tham sốGiải thích
nameName of the sporting venue. Defaults to {{PAGENAME}}
stadium_name
centre_name
nicknameEnglish nickname(s) of the venue
native_nameName of the venue in native language/script (e.g. दशरथ रंगशाला)
native_name_langIf |native_name= is present, ISO 639-1 code of language/script of value (e.g. ne)
fullnameInsert the official full name of the venue
former namesInsert the venue's former name(s). Use the format:

FormerName (year–year)

logo_imageInsert an image link in the form: [[Tập tin:MyLogo.jpg|250px|alt=My alt text]]. For more on alt text, please see WP:ALT.
logo_captionInsert a caption for the stadium logo
imageImage name without "Tập tin:" or other formatting. e.g. MyImage.jpg
image_sizeSize of the image as a raw number (i.e. without "px"). If not specified, image width defaults to "frameless" (220px).
image_altfor the image.
captionInsert a caption for the stadium image
pushpin_mapThe name of a location map as per Bản mẫu:Bản đồ định vị
pushpin_mapsizeThe width to display the pushpin map, in pixels. Just the number, without "px". If omitted or left empty, defaults to 250.
pushpin_map_captionCaption to display below the pushpin map. If left blank or omitted, a caption will not be displayed.
pushpin_label_positionThe position of the label on the pushpin map relative to the pushpin mark. Valid values are left, right, top and bottom. This defaults to either left or right, depending on the coordinates of the marker and its position relative to the right border of the map image.
locationInsert the venue's location. For "United States" and "United Kingdom", it is preferred that they be abbreviated "U.S." and "UK", but political subdivisions should never be (never "MA" for "Massachusetts", "ON" for "Ontario", etc.). See Notes[1] for details.
coordinatesInsert the geographical coordinates; use {{tọa độ}}
elevationElevation in meters or feet using {{convert}}
typeTheatre, Stadium, ...
genremusic, concerts, sporting events, theatre, dance
broke_groundInsert the date when ground was broken to build the venue
builtInsert a date range of when the venue was under construction
openedInsert the date of when it opened
renovatedInsert the date of when it was renovated
expandedInsert the date of when it was expanded
closedInsert the date of when it was closed
demolishedInsert the date of when it was demolished
ownerInsert the name(s) of the venue's owner(s)
operatorInsert the name(s) of the venue's operator(s)
surfaceEnter the surface of the venue (e.g. grass, sand, artificial turf)
scoreboardEnter the details of any scoreboard at the venue. If specific details are not known, just enter "Yes" if the venue has a scoreboard or "No" if there is none.
screensEnter the number of theatre screens.
currentuseEnter the current use of the venue.
productionEnter the theatrical production currently being housed at the venue.
costEnter the construction cost, preferably in the currency that the venue is located in (see WP:DATE for details) Per its own documentation, the inflation template must not be used.
architectInsert the name(s) of the venue's architect(s)
builderName(s) of the venue's builder(s)
project_managerInsert the name(s) of the project manager(s) who led the venue's construction
structural engineerInsert the name(s) of the venue's structural engineer(s)
services engineerInsert the name(s) of the venue's services engineer(s)
general_contractorInsert the name(s) of the venue's general contractor(s)
main_contractorsInsert the name(s) of the venue's main contractor(s)
seating_typesoft seat, reserved seating
capacityInsert the seating capacity of the venue. If it is a multi-purpose venue, use the format:

Capacity (Purpose)

suitesInsert the number of suites
record_attendanceInsert the all-time record attendance of the venue. (include the date and event if you wish) If it is a multi-purpose venue, use the format:

Record Attendance (Date & Event)

dimensionsInsert the dimensions of the venue:
  • For a football (soccer) pitch size, use the format:

105 × 68 m

  • For baseball dimensions, use the format:

Left field: 300 ft (91 m)
Center field: 400 ft (122 m)
Right field: 300 ft (91 m)

field_shapeOval rectangular or circular
acreageInsert the acreage.
tenantsInsert the teams and any other parties who use the venue as their home stadium or arena. Use the format:

TeamName (league/organization) year–year

Alternatively, you can use the {{Thông tin địa điểm/tenantlist}} sub-template to automatically line rows up.

embeddedEmbed another infobox with such capability like {{designation list}} and {{infobox NRHP}}. See their respective documentation for more information.
websiteInsert the website, preferably with {{URL}}
publictransitThe nearest public transport stop.
Ví dụ: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]

Các tham số khung bản đồ Bản mẫu:Thông tin địa điểm/doc

  • Basic {{Infobox mapframe}} parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
      • Internal onByDefault parameter: not specified
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata d:Property:P625
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, most mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-wikidata – Set to yes to show all shape/line features from OpenStreetMap. Default: not specified
  • Customise which features are displayed:
    • mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to none. Force display of shape by setting to on. Use an inverse shape (geomask) instead of a regular shape by setting to . Default: not specified
    • mapframe-line – Turn off display of line feature by setting to . Force display of line by setting to . Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for quốc gia (P17), P131 for nằm trong phạm vi của khu vực hành chính (P131)). Default: not specified
    • mapframe-switcher – set to or or to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • – switch geomasks found in vị trí (P276) and nằm trong phạm vi của khu vực hành chính (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.1
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
      • mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
      • mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
      • mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
      • mapframe-line-stroke-width – Width of line features. Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
      • Can also be set to to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 1
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.25
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified / not specified / not specified / not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified

Ghi chú Bản mẫu:Thông tin địa điểm/doc

  1. As per RfC "Naming countries in infoboxes": When identifying a location, city or region in the United States or United Kingdom, the preferred approach is to use the country abbreviations allowed by , such as "Portsmouth, New Hampshire, U.S." and "Cardiff, Wales, UK", rather than spelling out the full country name. Avoid using abbreviations for states or provinces in all nations. New Hampshire rather than NH, New South Wales rather than NSW, or British Columbia rather than BC (see ). Cities such as New York City and London may be rendered as "New York City, U.S." and "London, UK" or simply "New York City" and "London". Also, these should not be linked when the context makes it clear (see ). If only the country name is included, it may be written out in full.

Siêu định dạng Bản mẫu:Thông tin địa điểm/doc

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

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.

Dữ liệu bản mẫu Bản mẫu:Thông tin địa điểm/doc

Thể loại theo dõi Bản mẫu:Thông tin địa điểm/doc

Xem thêm Bản mẫu:Thông tin địa điểm/doc