Templat:Kotak info taman

Daripada Wikipedia, ensiklopedia bebas.
Jump to navigation Jump to search
Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

Templat kotak info (infobox) ini boleh digunakan dalam mana-mana artikel mengenai taman, hutan simpan atau kebun.

Penggunaan[sunting sumber]

Templat ini menyediakan pelbagai pilihan. Sebuah kotak info berfungsi digunakan mengikut parameter yang biasa digunakan seperti di bawah.

Kotak info taman
[[File:{{{map_image}}}|{{{map_width}}}]]
{{{map_caption}}}
OS gridTemplat:Gbm4ibx
OSI/OSNI gridTemplat:Iem4ibx
Dibenarkan{{{authorized}}}
atau {{{dibina}}}
atau {{{ditubuhkan}}}
atau {{{ditetapkan}}}
atau {{{dibuka}}}
atau {{{pembukaan}}}
Taraf{{{status}}}
laluan mendaki{{{hiking_trails}}}
or {{{laluan}}}
Rupa bumi{{{terrain}}}
atau {{{habitat}}}
Parking{{{parking}}}
Parameter biasa Semua parameter
{{Kotak info taman
| nama            = 
| imej            = 
| image_size      = 
| imej_alt        = 
| image_caption   = 
| peta            = <!-- atau | imej_peta = --> 
| map_width       = 
| jenis           = 
| lokasi          = 
| bandar_terdekat = 
| koordinat       = 
| keluasan        = 
| dibina          = 
| pengendali      = 
| jumlah_pelawat  = 
| status          = 
| tetapan         = 
| buka            = 
}}
{{Kotak info taman
| nama              = 
| nama_alt          = 
| nama_asli         = 
| native_name_lang  = 
| imej              = 
| image_size        = 
| imej_alt          = 
| image_caption     = 
| peta              = <!-- atau | imej_peta = -->  
| peta_alt          = 
| map_width         = 
| map_caption       = 
| relief            = 
| label             = 
| label_position    = 
| mark              = 
| mark_width        =
| jenis             = 
| moto              = 
| lokasi            = 
| bandar_terdekat   = 
| pekan_terdekat    = 
| grid_ref_UK       = 
| grid_ref_Ireland  = 
| koordinat         = 
| ruj_koord         = 
| keluasan          = 
| ketinggian        = 
| authorized        =
| dibina            = 
| ditubuhkan        =
| ditetapkan        =
| dibuka            =
| pembukaan         =
| ditutup           =
| pengasas          = 
| pereka            = 
| etimologi         =  
| pemilik           =
| pentadbir         =
| pengurus          =
| pengendali        = 
| jumlah_pelawat    = 
| tahun_pelawat     = 
| ruj_pelawat       = 
| buka              = 
| status            = 
| anugerah          = 
| tapak_perkhemahan = 
| hiking_trails     = 
| laluan            = 
| terrain           =
| habitat           = 
| air               =
| tumbuhan          = 
| spesies           = 
| koleksi           = 
| tetapan           = 
| gangguan          = 
| belanjawan        = 
| parking           =
| transit_awam      = 
| pengangkutan      = 
| label_bebas       = 
| data_bebas        = 
| maklumat_lain     = 
| kemudahan         = 
| laman_sesawang    = 
| dibenamkan        = 
| anak              = 
}}

Butiran parameter[sunting sumber]

This table describes all parameters which can be used in build park infobox. Only the name parameter must be assigned a value.

Field name Description
name Required. The name of the park. It will be displayed at the top of the infobox. In most cases this should be the same as the article name less any disambiguation. For example if the article title is Hyde Park, London then name=Hyde Park.
alt_name If there is a common English name for the park use it for the name parameter. This parameter can be used to display the name in the local language or for an alternate English name if it is commonly used. If you would like to italicize the text use wiki markup.
photo The name of an image file to be displayed. No special formatting is needed.
photo_width Can be used to change the display width of the image. The default width is 240 pixels and maximum is 272px,. Images with a horizontal orientation (landscape mode) will generally display well at the default setting. An image with vertical orientation (portrait mode) may need to be adjusted to 180px or less. For example photo_width=200 and not photo_width=200px. This template allows photo_width=frameless. See #Photo display parameters.
photo_alt Alt text for the photo, for visually impaired readers. See WP:ALT.
photo_caption The caption that will appear below the image if one is required.
location The location of the park. Don't be too precise. County, state and country are good in the USA. If the park is within a city specify the city, state and country. If the park is in multiple counties just list the state and country. For areas in other countries adjust accordingly.
nearest_city Recommended if the park is not in a city. It could be a city or large gateway town where supplies and lodging are available.
Map related parameters
map The name of the map to be displayed. See Map display methods.
map_width Can change the display width the map. The default width is 240 pixels and maximum is 272px, but usually the map can be smaller. For example map_width=200 and not map_width=200px.
map_alt Alt text for the map. See WP:ALT.
map_caption The caption that appears below the map if one is required.
label A text message that will be displayed next to the mark. Works with label_position below. Seldom used.
label_position Specifies the position of a label with respect to the mark. This is not functional when using the pixel coordinates method for map display. Valid values are left, right, top and bottom. See label above.
relief Selects a relief map when assigned any value. This is not functional when using the pixel coordinates method for map display. See Map display methods.
mark The image used for the mark on a map. The default is Red pog.svg. Look here for other images.
x
y
Specifies the position of the location marker on a map image. The coordinates of the marker in pixels based on a map with a width of 1000 pixels. The template will scale these values for proper display. See below.
x%
y%
Specifies the position of the location marker on a map image. x% specifies the percentage of the distance across the image from the left edge and y% specifies the percentage of the distance down from the top edge. See below.
Coordinate related parameters
grid_ref_UK If the park is in Great Britain, the British grid reference. For parks outside of Great Britain, this field is not applicable and therefore should be removed if it is present.
grid_ref_Ireland If the park is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. For parks outside Ireland, this field is not applicable and therefore should be removed it it is present.
coords For the {{Coord}} template. Will not generate a location mark if a map template is used. When this option is used the type, region, scale, source, format and display parameters are not functional but this data can be entered in the Coord template. The defaults should be type:landmark and display:inline,title.
lat_d The degrees of latitude. This value can be specified as a decimal degree and when this format is used minutes and seconds should not be specified. See below.
lat_m The minutes of latitude.
lat_s The seconds of latitude.
lat_NS N if north of the equator, S if south of the equator. Other values will be disregarded.
long_d The degrees of longitude. This value can be specified as a decimal degree and when this format is used minutes and seconds should not be specified. See below.
long_m The minutes of longitude.
long_s The seconds of longitude.
long_EW E if East of the prime meridian, W if west of the prime meridian. Other values will be disregarded.
coords_ref Can be used with either coordinate display method above. Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.
coords_type Type is one way to specify the scale of maps generated by external map websites. See type for valid values. The default value is landmark. If no type is appropriate consider using the scale parameter below.
scale Determines the zoom factor for external map websites. See scale. The value is 1:10,000 for the default type which is landmark. Using scale=50000 will change the zoom to 1:50,000.
region A country code. See ISO 3166-2:US, ISO 3166-2 and ISO 3166-1 alpha-2. For example US-OR is the code for Oregon. This computer readable code is recommended. It will not be displayed. See region.
source Source of the coordinate data. See source. For example gnis or ngs, etc. It will not be displayed. Not all possible values are recognized.
format Determines the format of the coordinates displayed. Valid values are dms for degrees, minutes and seconds, and dec for decimal degrees. The default value is dms.
display Determines where the coordinates will be displayed. Valid values are inline and inline,title and their variants. The default is inline,title and is recommended.
Other parameters
area Area of the protected park. Usually in acres or square miles for US locations and hectares or square kilometres elsewhere. The {{convert}} template should be used. Very small areas might be specified in square feet, square yards or square metres.
elevation Elevation of the park if it is noteworthy. The {{convert}} template should be used.
created The date the protected park was created. Use {{start date}}. For example, for Hyde Park, London, use {{start date|1637}} since only the year is known.
visitation_num The number of visitors in a recent year if known.
visitation_year The year during which the number of visitors was counted.
visitation_ref Used with the visitation parameters above. Highly recommended. Specify the a citation for the visitation data using <ref>...</ref> tags.
etymology The etymology of parks name. Should be very brief or only included in the text of the article.
operator The agency or organization which controls or owns the park. Hyde park, London is operated by The Royal Parks
open The hours, days, or months that the park is open.
status The status of the park. e.g. "Closed for restoration", or "Closed due to budgetary considerations." Sometimes used as an alternative to open. e.g. "Open all year."
awards Any awards given to the park; for example, Green Flag Award in the UK.
child Used to embed this template in another. See below.
embedded Used to embed another template in this one. See below.
website Website. Use {{URL}}.

Parameter paparan gambar[sunting sumber]

The parameter photo_width allows several options:

Option Description
photo_width= If no value is assigned, the photo image will display with a width of 240px.
photo_width=<n> Where n is any numeric value, the photo image will display with a width of n pixels. The maximum width is 272px.
photo_width=frameless The photo image will display with a default width of 220px, however, if a user is logged in, they can change this value here. If this option is used, the upright parameter is made available. For example |photo_width=frameless|upright=1.2 will cause the image to display with a width of (220 * 1.2)px or 264px. More information about this parameter can be found here.
photo_width=upright The photo image will display with a default width of 170px. This is equivalent to [[File:Example.jpg|frameless|upright]] using wiki image syntax. More information about the upright option can be found here.

Contoh[sunting sumber]

Kotak info taman
Tank Hill Park
{{Kotak info taman
| nama = Taman Tank Hill
| native_name = Tank Hill Park
| native_name_lang = en
| alt_name =
| gambar = Tank Hill, San Francisco.jpg
| photo_width = 256
| photo_alt = 
| photo_caption = Pemandangan Tank Hill dari bawah  
| peta = San Francisco County
| map_width = 208
| map_caption = 
| jenis = Kawasan semulajadi
| lokasi = [[San Francisco]], [[California]]
| koordinat = {{Koord|37|45|36|N|122|26|51|W|region:US_source:gnis|display=inline}}
| keluasan = {{convert|2.87|acre|2}}
| dibina = {{Tarikh mula|1977}}
| pengendali = Rekreasi dan Taman San Francisco
| visitation = 
| buka = 
}}
Kotak info taman
Edworthy Park
{{Kotak info taman
| nama = Taman Edworthy
| native_name = Edworthy Park
| native_name_lang = en
| gambar = Calgary-Edworthy Park.JPG
| photo_width = 
| photo_caption = Sungai Bow dilihat dari Taman Edworthy
| jenis = [[taman bandar]]
| lokasi = [[Calgary]], [[Alberta]]
| koord = {{coord|51|03|41|N|114|09|23|W|display=inline}}
| keluasan = {{convert|1.27|km2|abbr=on|2}}
| pengendali = [[Calgary|Bandar Calgary]]
| visitation = 
| buka = Sepanjang tahun
| peta = Canada Calgary
| map_width = 192
| map_alt = 
| map_caption = Lokasi Taman Edworthy di Calgary
}}

Kaedah paparan peta[sunting sumber]

Any image of a map showing the location of the park can be used. There are three methods by which maps showing a marker can be generated. Templat:Infobox map/Map display methods

DataTemplat[sunting sumber]

Berikut ialah pendokumenan TemplateData untuk templat ini yang digunakan oleh VisualEditor dan alatan-alatan lain.

Kotak info taman

Tiada keterangan.

Parameter templat

ParameterKeteranganJenisStatus
Namanama name

Nama taman. Diperlukan.

Tidak diketahuidiperlukan
Nama alternatifnama_alt alt_name

tiada keterangan

Tidak diketahuipilihan
Nama lainnama_lain other_name

tiada keterangan

Tidak diketahuipilihan
Nama aslinama_asli native_name

Nama dalam bahasa asli

Tidak diketahuipilihan
Bahasa asli namanama_asli_bahasa native_name_lang

Kod ISO 639-2 untuk bahasa asli bagi nama

Tidak diketahuipilihan
Imejimej image

Imej taman

Tidak diketahuidisarankan
Gambargambar photo

Gambar taman

Tidak diketahuipilihan
Saiz imejimej_saiz image_size

tiada keterangan

Tidak diketahuipilihan
Lebar gambargambar_lebar photo_width

tiada keterangan

Tidak diketahuipilihan
Uprightupright

tiada keterangan

Tidak diketahuipilihan
Imej alternatifimej_alt image_alt

tiada keterangan

Tidak diketahuipilihan
Photo alternatifgambar_alt photo_alt

tiada keterangan

Tidak diketahuipilihan
Kapsyen imejimej_kapsyen image_caption

tiada keterangan

Tidak diketahuidisarankan
Kapsyen photogambar_kapsyen photo_caption

tiada keterangan

Tidak diketahuipilihan
Petapeta map

tiada keterangan

Tidak diketahuipilihan
Peta alternatifpeta_alt map_alt

tiada keterangan

Tidak diketahuipilihan
Lebar petapeta_lebar map_width

tiada keterangan

Tidak diketahuipilihan
Kapsyen petapeta_kapsyen map_caption

tiada keterangan

Tidak diketahuipilihan
Muka bumimukabumi relief

tiada keterangan

Tidak diketahuipilihan
Labellabel

tiada keterangan

Tidak diketahuipilihan
Label petapeta_label map_label

tiada keterangan

Tidak diketahuipilihan
Kedudukan labellabel_kedudukan label_position

tiada keterangan

Tidak diketahuipilihan
Kedudukan label petapeta_label_kedudukan map_label_position

tiada keterangan

Tidak diketahuipilihan
Markmark

tiada keterangan

Tidak diketahuipilihan
Mark_widthmark_width

tiada keterangan

Tidak diketahuipilihan
Koordinatkoordinat coordinates koord coords

tiada keterangan

Tidak diketahuidisarankan
Imej petapeta_imej imej_peta map_image image_map

tiada keterangan

Tidak diketahuipilihan
Saiz petapeta_saiz map_size mapsize

tiada keterangan

Tidak diketahuipilihan
Jenisjenis type

tiada keterangan

Tidak diketahuipilihan
Motomoto motto Motto

tiada keterangan

Tidak diketahuipilihan
Lokasilokasi location

tiada keterangan

Tidak diketahuidisarankan
Bandar terdekatbandar_terdekat nearest_city

tiada keterangan

Tidak diketahuipilihan
Pekan terdekatpekan_terdekat nearest_town

tiada keterangan

Tidak diketahuipilihan
Rujukan grid UKgrid_ref_UK

tiada keterangan

Tidak diketahuipilihan
Rujukan grid Irelandgrid_ref_Ireland

tiada keterangan

Tidak diketahuipilihan
Rujukan koordinatkoord_ruj coords_ref

tiada keterangan

Tidak diketahuipilihan
Keluasankeluasan area

tiada keterangan

Tidak diketahuipilihan
Ketinggianketinggian elevation

tiada keterangan

Tidak diketahuipilihan
Authorizedauthorized

tiada keterangan

Tidak diketahuipilihan
Dibinadibina created

Tarikh dibina

Tidak diketahuidisarankan
Ditubuhkanditubuhkan established

Tarikh ditubuhkan

Tidak diketahuipilihan
Ditetapkanditetapkan designated

Tarikh ditetapkan

Tidak diketahuipilihan
Pembukaanpembukaan opening

Tarikh pembukaan

Tidak diketahuipilihan
Dibukadibuka opened

Tarikh dibuka

Tidak diketahuidisarankan
Ditutupditutup closed

Tarikh ditutup

Tidak diketahuipilihan
Pengasaspengasas founder

tiada keterangan

Tidak diketahuipilihan
Perekapereka designer

tiada keterangan

Tidak diketahuipilihan
Etimologietimologi etymology

tiada keterangan

Tidak diketahuipilihan
Pemilikpemilik owner

tiada keterangan

Tidak diketahuipilihan
Pentadbirpentadbir administrator

tiada keterangan

Tidak diketahuipilihan
Penguruspengurus manager

tiada keterangan

Tidak diketahuipilihan
Pengendalipengendali operator

tiada keterangan

Tidak diketahuipilihan
Jumlah pelawatjumlah_pelawat visitation_num

tiada keterangan

Tidak diketahuidisarankan
Tahun pelawattahun_pelawat visitation_year

Tahun bagi rekod jumlah pelawat

Tidak diketahuidisarankan
Rujukan pelawatruj_pelawat visitation_ref

Rujukan bagi rekod jumlah pelawat

Tidak diketahuipilihan
Bukabuka open

Waktu taman dibuka

Tidak diketahuidisarankan
Statusstatus

tiada keterangan

Tidak diketahuidisarankan
Anugerahanugerah awards

tiada keterangan

Tidak diketahuipilihan
Tapak perkhemahantapak_perkhemahan camp_sites

tiada keterangan

Tidak diketahuipilihan
Denaidenai laluan paths

tiada keterangan

Tidak diketahuipilihan
Laluan mendakihiking_trails

tiada keterangan

Tidak diketahuipilihan
Muka bumirupa_bumi terrain

tiada keterangan

Tidak diketahuipilihan
Habitathabitat

tiada keterangan

Tidak diketahuipilihan
Airair water

tiada keterangan

Tidak diketahuipilihan
Tumbuhantumbuhan vegetation plants

tiada keterangan

Tidak diketahuipilihan
Spesiesspesies species

tiada keterangan

Tidak diketahuipilihan
Koleksikoleksi collections

tiada keterangan

Tidak diketahuipilihan
Tetapantetapan designation

tiada keterangan

Tidak diketahuipilihan
Gangguangangguan disturbance

tiada keterangan

Tidak diketahuipilihan
Belanjawanbelanjawan bajet budget

tiada keterangan

Tidak diketahuidisarankan
Tempat letak keretaparking

tiada keterangan

Tidak diketahuidisarankan
Pengangkutanpengangkutan transport

tiada keterangan

Tidak diketahuidisarankan
Transit awamtransit_awam publictransit

tiada keterangan

Tidak diketahuipilihan
Label bebaslabel_bebas free_label

tiada keterangan

Tidak diketahuipilihan
Data bebasdata_bebas free_data

tiada keterangan

Tidak diketahuipilihan
Kemudahankemudahan facilities

tiada keterangan

Tidak diketahuidisarankan
Maklumat lainmaklumat_lain other_info

tiada keterangan

Tidak diketahuipilihan
Laman sesawanglaman_sesawang website url

tiada keterangan

Tidak diketahuidisarankan
Dibenamkandibenamkan embedded

tiada keterangan

Tidak diketahuipilihan
Anakanak child

tiada keterangan

Tidak diketahuipilihan
Benamkanbenamkan embed

tiada keterangan

Tidak diketahuipilihan

Pembenaman templat[sunting sumber]

Templat ini boleh dibenamkan ke dalam templat kotak info yang lain dengan menambah kod |child=ya. Untuk membenamkan templat lain ke dalam templat ini gunakan |embedded={{Kotak info ...

Microformat[sunting sumber]

Rencana yang dicipta dengan menggunakan templat ini memasukkan micrformat hCard. Untuk maklumat lanjut baca di sini