Templat:Kotak info muzium/doc
![]() | Ini ialah sublaman pendokumenan untuk Templat:Kotak info muzium. Ia mempunyai maklumat penggunaan, kategori dan kandungan lain yang bukan sebahagian daripada laman templat templat laman. |
![]() | Halaman ini punya templat digunakan pada banyak laman dan perubahan besar-besaran mungkin akan ternampak. Sila uji perubahan di templat punya subhalaman kotak pasir atau laman uji kaji, atau pada sublaman pengguna anda. Pertimbang untuk membincang perubahan pada laman perbincangan sebelum melaksanakannya. |
![]() | This template adds an automatically generated short description when Type includes one of: Museum / Hall / Gallery / Center. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
![]() | Templat ini menggunakan Lua: |
Usage
[sunting sumber]Copy a blank version to use. All parameter names must be lowercase.
{{{native_name}}} | |
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright={{{logo_upright}}}]] {{{logo_caption}}} | |
[[File:{{{image}}}|260px|alt={{{alt}}}|upright={{{image_upright}}}]] {{{caption}}} | |
Maklumat am | |
---|---|
Nama lama | {{{former_name}}} |
Ditubuhkan | {{{established}}} |
Dibubarkan | {{{dissolved}}} |
Jenis | {{{type}}} |
Saiz koleksi | {{{collections}}} |
Pentauliahan | {{{accreditation}}} |
Pegangan utama | {{{key_holdings}}} |
Maklumat pentadbiran | |
Pengasas | {{{founder}}} |
Pengarah eksekutif | {{{executive_director}}} |
{{{leader_type}}} | {{{leader}}} |
Pengarah | {{{director}}} |
Ketua pegawai eksekutif | {{{ceo}}} |
Kurator | {{{curator}}} |
Arkitek | {{{architect}}} |
Sejarawan | {{{historian}}} |
Pemilik | {{{owner}}} |
Kakitangan | {{{employees}}} |
Maklumat geografi | |
Lokasi | {{{location}}} |
Koordinat | {{{coordinates}}} |
Maklumat pelawat | |
Bilangan pelawat | {{{visitors}}} |
Kemudahan pengangkutan awam | {{{publictransit}}} |
Laman sesawang | {{{website}}} |
{{{embedded}}} | |
sunting ![]() |
{{Infobox museum
| name =
| native_name =
| native_name_lang =
| logo =
| logo_upright =
| logo_alt =
| logo_caption =
| image =
| image_upright =
| alt =
| caption =
| map_type =
| map_relief =
| map_size =
| map_caption =
| map_dot_label =
| coordinates = <!-- {{coord|LAT|LON|display=inline,title}} -->
| former_name = <!-- or |former_names= -->
| established = <!-- {{start date|YYYY|MM|DD|df=y}} -->
| dissolved = <!-- {{end date|YYYY|MM|DD|df=y}} -->
| location =
| type =
| accreditation =
| key_holdings =
| collections =
| collection_size =
| visitors =
| founder =
| executive_director =
| deputy_director =
| leader_type =
| leader =
| director =
| president =
| ceo =
| chairperson =
| curator =
| architect =
| historian =
| owner =
| employees =
| publictransit =
| parking = <!-- or |car_park= -->
| website = <!-- {{URL|example.com}} -->
| network =
| embedded = <!-- or |nrhp= -->
}}
Embedding other templates
[sunting sumber]The embedded parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).
{{Infobox museum
| name =
| <!-- etc. -->
| embedded =
{{Infobox NRHP
| embed = yes <!-- or child=yes or subbox=yes-->
| <!-- etc. -->
}}
}}
Parameters
[sunting sumber]Note that the examples below are presented in wikicode and do not necessarily reflect actual statistics.
- name
- Name of the museum
Example: Foo Museum of Art - native_name
- Name of the museum in the local language, if different
- native_name_lang
- ISO 639-2 code for the local language, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead.
- logo
- Logo or graphic by which the museum is identified, omitting the wikilink brackets and the "file:" or "image:" namespace
Example: Louvre.jpg - logo_upright
- Logo scaling factor
- logo_alt
- Alt text for the logo, for people who can't see the image
- logo_caption
- Caption for the logo
- image
- Image of the museum, omitting the wikilink brackets and the "file:" or "image:" namespace
Example: Louvre.jpg - image_upright
- Image scaling factor
- alt
- Alt text for image, for people who can't see the image
- caption
- Image caption
- map_type
- The name of the map template used to construct location map, see Template:Location map#Available maps
Example: USA Alabama. - map_relief
- Set this to
y
or any non-blank value to use a relief map image provided by the selected location map template (if a relief map is available). For additional information, see Template:Location map#Relief parameter. - map_size
- Specify a pixel width for the map image. The default is 220.
Example:map_size=230
(notmap_size=230px
). - map_caption
- Text displayed below the map image.
Example: FooTown - map_dot_label
- Text displayed on the map dot.
- coordinates
- Latitude and longitude. Use {{Coord}}; see that template's documentation for usage information.
- former_name
- Previous name(s)
- established
- Date of the museum's establishment. Use {{Start date}}.
Example: {{Start date|1997|03|31}} - dissolved
- If defunct, date the museum was dissolved. Use {{End date}}.
Example: {{End date|2007|12|31}} - location
- Location of the museum
Example: [[National Mall]], [[Washington D.C.]], [[United States|US]]
Example: [[Moncton]], [[New Brunswick]], [[Canada]] - type
- Type of museum, most likely Art museum, Science museum, Children's museum, General interest or similar
Example: [[Art museum]]
Example: [[Science museum]]
Example: [[Children's museum]] - accreditation
- Accreditation
Example: [[American Alliance of Museums]] - key_holdings
- Key holdings
Example: [[Flaming June]] - collections
- Collections
Example: [[Baroque]]
Example: [[Pre-Raphaelite]]
Example: [[Golden Age]] - collection_size
- Number of objects
- visitors
- Number of visitors
Example: 417,096 (2005) - founder
- The museum's founder
Example: [[Harold Saxon]] - executive_director
- The museum's executive director
Example: [[Harold Saxon]]
Alias:executive director
- director
- The museum's director
Example: [[Harold Saxon]] - president
- Alternative to "director" above
- ceo
- Alternative to "ceo" above
- chairperson
- The museum's chair
Example: [[Harold Saxon]] - curator
- The curator of the museum
Example: [[John Smith]] - architect
- The architect of the museum
Example: [[John Smith]] - historian
- The historian of the museum
Example: [[John Smith]] - owner
- The owner of the museum
Example: [[Government of the City of Miami]] - employees
- The number of employees.
- publictransit
- The nearest public transport stop
Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]] - parking
- The nearest parking
Example: On site (no charge) - car_park
- Same as parking, but instead renders the label as "car park" for WP:ENGVAR purposes
- website
- Official or primary website operated by the museum. Use the template {{URL}}.
Example: {{URL|example.org}} - network
- If the museum is part of a museum network, specify the network name to invoke one of the network templates.
- embedded
- Enter
yes
if this template is used as a module (sub-template) of another infobox.
Mapframe map
[sunting sumber]A Mapframe map is automatically included if:
- There are coordinates specified on the page's Wikidata item
- It has not been turned off by setting
|mapframe=no
- Either another type of map has not been set, or
|mapframe=yes
is set
The following parameters are available for adjusting the mapframe map:
- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no if a pushpin map or map image is specified, yes otherwise
- 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, the subsequent 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-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=
. Default: coordinates from Wikidata{{Coord|12.34|N|56.78|E}}
- mapframe-wikidata – Set to
yes
to show shape/line features from the wikidata item, if any, when|coord=
is set. Default: not specified
- Customise which features are displayed:
- mapframe-shape – Turn off display of shape feature by setting to
none
. Use an inverse shape (geomask) instead of a regular shape by setting toinverse
. Default: not specified - mapframe-point – Turn off display of point feature by setting to
none
. Force point marker to be displayed by setting toon
. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none
. 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 negara (P17),P131
for terletak di entiti wilayah pentadbiran (P131)). Default: not specified - mapframe-switcher – set to
auto
orgeomasks
orzooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specifiedauto
– switch geomasks found in lokasi (P276) and terletak di entiti wilayah pentadbiran (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.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of3
), "zoomed out" is1
, and "zoomed midway" is the average
- mapframe-shape – Turn off display of shape feature by setting to
- 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.5
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: museum
- Can also be set to
blank
to override any default marker symbol
- Can also be set to
- 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: 2
- 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.5
- 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
- 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
Microformat
[sunting sumber]Penanda HTML yang dihasilkan oleh templat ini termasuklah mikroformat hCard, yang menjadikan nama tempat dan lokasi boleh dihuraikan oleh komputer, sama adan bertindak secara automatik untuk mengkatalogkan rencana merentasi Wikipedia atau melalui alat pelayar yang dikendalikan oleh orang, contohnya untuk menambah subjek pada buku alamat. Di dalam hCard terdapat mikroformat Geo, yang membolehkan koordinat (garis lintang dan bujur) dihuraikan, supaya ia boleh mencari peta atau memuat turun unit GPS.
Subtemplat
[sunting sumber]Jika suatu tempat itu mempunyai medan "diasaskan", "ditubuhkan", "dibuka atau yang serupa, gunakan templat {{Tarikh mula}}. Jika ia mempunyai URL, gunakan templat {{URL}}.
Harap tidak membuang contoh-contoh subtemplat ini.
Kelas
[sunting sumber]hCard menggunakan kelas-kelas HTML termasuklah:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- url
- vcard
Geo dihasilkan dengan memanggil {{Koord}}, dan menggunakan kelas-kelas HTML:
- geo
- latitude
- longitude
Jangan menamakan semula atau membuang kelas-kelas ini, atau meruntuhkan unsur-unsur bersarang yang menggunakannya.
Ketepatan
[sunting sumber]Apabila menggunakan koordinat, sila gunakan tahap ketepatan yang bersesuaian. Jangan gunakan parameter |name=
pada {{Koord}}.
TemplateData
[sunting sumber]TemplateData untuk Kotak info muzium
An infobox for museums
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
Name | name | Name of the museum
| Tidak diketahui | disarankan |
Native name | native_name | Name of the museum in the local language, if different | Tidak diketahui | pilihan |
Native name language | native_name_lang | The language of the native name | Tidak diketahui | pilihan |
Logo | logo | Logo or graphic by which the museum is identified
| Fail | disarankan |
Logo upright | logo_upright | Logo scaling factor | Angka | pilihan |
Logo alt text | logo_alt | Alt text for the logo, for people who can't see the image | Tidak diketahui | pilihan |
Logo caption | logo_caption | The caption for the logo | Rentetan | pilihan |
Image | image | An image of the museum
| Fail | disarankan |
image_size | image_size imagesize | tiada keterangan | Rentetan | pilihan |
Image upright | image_upright | Scaling factor for the image | Angka | pilihan |
Image caption | caption | A caption for the image | Rentetan | pilihan |
Image alt text | alt | Alt text for image, for people who can't see the image | Rentetan | pilihan |
Map type | map_type pushpin_map image_map | The name of the map template used to construct location map, see Template:Location map#Available maps
| Tidak diketahui | disarankan |
Map caption | map_caption | Text displayed below the map image, if latitude and longitude are used
| Tidak diketahui | pilihan |
Map size | map_size | Specify a pixel width for the map image
| Angka | pilihan |
Show map relief | map_relief pushpin_relief | Set this to y or any non-blank value to use a relief map image provided by the selected location map template (if a relief map is available). For additional information, see Template:Location map#Relief parameter | Boolean | pilihan |
map_dot_label | map_dot_label map dot label | tiada keterangan | Rentetan | pilihan |
Former name | former_name former_names | Previous name(s) | Tidak diketahui | disarankan |
Established | established | Date of establishment, using {{Start date}}
| Tidak diketahui | disarankan |
Dissolved | dissolved | If defunct, date the museum was dissolved. Use {{End date}}
| Tidak diketahui | pilihan |
Location | location | Location of the museum
| Tidak diketahui | disarankan |
Coordinates | coordinates | Alternative to other coordinates parameters, taking {{Coord}} as a single value
| Tidak diketahui | pilihan |
Type | type | Type of museum, most likely Art museum, Science museum, Children's museum or similar
| Tidak diketahui | disarankan |
Accreditation | accreditation | tiada keterangan
| Tidak diketahui | pilihan |
Key holdings | key_holdings | Important holdings
| Tidak diketahui | pilihan |
Collections | collections collections_type | The types of collections held by the museum
| Rentetan | pilihan |
Collection size | collection_size collection size collection | Number of objects
| Angka | pilihan |
Visitors | visitors | Number of visitors
| Tidak diketahui | pilihan |
Founder | founder | The museum's founder
| Tidak diketahui | pilihan |
Executive director | executive_director executive director | The museum's executive director | Tidak diketahui | pilihan |
Director | director | The museum's director | Tidak diketahui | pilihan |
President | president | The museum's president | Tidak diketahui | pilihan |
CEO | ceo | The museum's chief executive officer | Tidak diketahui | pilihan |
Chairperson | chairperson | The museum's chair | Tidak diketahui | pilihan |
Curator | curator | The curator of the museum | Tidak diketahui | pilihan |
Architect | architect | The architect of the museum | Tidak diketahui | pilihan |
Historian | historian | The historian of the museum | Tidak diketahui | pilihan |
Owner | owner | The owner of the museum
| Tidak diketahui | pilihan |
employees | employees | tiada keterangan | Rentetan | pilihan |
Public transport | publictransit | The nearest public transport stop
| Tidak diketahui | pilihan |
Parking | parking | The nearest parking
| Tidak diketahui | pilihan |
Car park | car_park | Same as parking, but instead renders the label as "car park" for [[WP:ENGVAR]] purposes | Tidak diketahui | pilihan |
Website | website | Official or primary website operated by the museum. Use the template {{URL}}.
| Tidak diketahui | disarankan |
Network | network | If the museum is part of a museum network, specify the network name to invoke one of the [https://en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&prefix=Infobox+museum&namespace=10 network templates] | Tidak diketahui | pilihan |
nrhp | nrhp | tiada keterangan | Tidak diketahui | pilihan |
embedded | embedded embed | tiada keterangan | Tidak diketahui | pilihan |
leader_type | leader_type | tiada keterangan | Rentetan | pilihan |
leader | leader | tiada keterangan | Rentetan | pilihan |
map_alt | map_alt | tiada keterangan | Rentetan | pilihan |
Examples
[sunting sumber]![]() | |
![]() Aerial shot of the British Museum | |
Maklumat am | |
---|---|
Ditubuhkan | 7 Jun 1753 |
Saiz koleksi | approx. 8 million objects[1] |
Maklumat pentadbiran | |
Chair | George Osborne |
Pengarah | Hartwig Fischer |
Maklumat geografi | |
Lokasi | Great Russell Street, London WC1B 3DG, England, United Kingdom |
Maklumat pelawat | |
Bilangan pelawat | 4,097,253 (2022)[2] (up 209 per cent from 2021) |
Kemudahan pengangkutan awam | |
Area | 807,000 ka2 (75,000 m2) in 94 galleries |
sunting ![]() |
{{Infobox museum
| name = British Museum
| logo = British Museum logo.svg
| logo_upright = .6
| image = File:British Museum (aerial).jpg
| image_upright = 1.15
| caption = Aerial shot of the British Museum
| established = {{Start date and age|1753|6|7|df=yes}}
| collection = approx. 8 million objects<ref>{{cite web| url= https://www.britishmuseum.org/about_us/management/about_us.aspx| title= Collection size| work= British Museum| access-date= 22 July 2016| archive-date= 12 August 2017| archive-url= https://web.archive.org/web/20170812061205/https://www.britishmuseum.org/about_us/management/about_us.aspx| url-status= live}}</ref>
| location = [[Great Russell Street]], London WC1B 3DG, England, United Kingdom
| leader_type = Chair
| leader = [[George Osborne]]
| director = [[Hartwig Fischer]]
| visitors = 4,097,253 (2022)<ref>Association of Leading Visitor Attractions (ALVA), 22 March 2022</ref> (up 209 per cent from 2021)
* [[Most visited museums in the United Kingdom|Ranked third nationally]]
| publictransit = {{rint|london|underground}} {{lus|Goodge Street}}; {{lus|Holborn}}; {{lus|Tottenham Court Road}}; {{lus|Russell Square}};
| website = {{Official URL}}
| embedded = {{infobox |child=yes
| label1 = Area
| data1 = {{convert|807000|sqft|m2|-2|abbr=on}} in<br /> 94 galleries}}
}}
![]() Main facade | |
Maklumat am | |
---|---|
Ditubuhkan | 1910 |
Jenis | Natural History |
Maklumat pentadbiran | |
Pengarah | Kirk Johnson |
Kakitangan | 427 [3] |
Maklumat geografi | |
Lokasi | National Mall in Washington, D.C., United States |
Koordinat | 38°53′29″N 77°01′33″W / 38.8913°N 77.0259°W |
Maklumat pelawat | |
Bilangan pelawat | |
Kemudahan pengangkutan awam | |
Laman sesawang | |
sunting ![]() |
{{Infobox museum
| name = National Museum of Natural History
| logo =
| image = Smithsonian-Museum of Natural History.jpg
| caption = Main facade
| map_caption = Location within Washington, D.C.
| coordinates = {{coord|38.8913|-77.0259|region:US-DC|display=inline}}
| mapframe-zoom = 13
| established = {{Start date and age|1910|df=yes}}
| location = [[National Mall]] in [[Washington, D.C.]], United States
| type = [[Natural History]]
| employees = 427
<ref name="mediafactsheet">{{cite web
| date = February 14, 2019
| title = Media Fact Sheet
| url = https://www.si.edu/newsdesk/factsheets/national-museum-natural-history
|access-date = May 30, 2020
}}</ref>
| collection_size = 146,000,000 specimens
<ref name="mediafactsheet">{{cite web
| date = February 14, 2019
| title = Media Fact Sheet
| url = https://www.si.edu/newsdesk/factsheets/national-museum-natural-history
|access-date = May 30, 2020
}}</ref>
| visitors =
{{unbulleted list
| 573,000 (2020)
<ref>{{cite report
| author = TEA/AECOM
| date = September 2021
| title = TEA/AECOM 2020 Theme Index and Museum Index: The Global Attractions Attendance Report
| url = https://aecom.com/wp-content/uploads/documents/reports/AECOM-Theme-Index-2020.pdf
| publisher = Themed Entertainment Association (TEA)
| page = [https://aecom.com/wp-content/uploads/documents/reports/AECOM-Theme-Index-2020.pdf#page=87 87]
}}</ref>
| 4,200,000 (2019)
<ref>{{cite report
| author = TEA/AECOM
| date = July 2020
| title = TEA/AECOM 2019 Theme Index and Museum Index: The Global Attractions Attendance Report
| url = https://aecom.com/wp-content/uploads/documents/reports/AECOM-Theme-Index-2019.pdf
| publisher = Themed Entertainment Association (TEA)
| page = [https://aecom.com/wp-content/uploads/documents/reports/AECOM-Theme-Index-2019.pdf#page=93 93]
}}</ref>
| 4,800,000 (2018)
<ref>{{cite report
| author = TEA/AECOM
| date = May 2019
| title = TEA/AECOM 2018 Theme Index and Museum Index: The Global Attractions Attendance Report
| url = https://aecom.com/content/wp-content/uploads/2019/05/Theme-Index-2018-5-1.pdf
| publisher = Themed Entertainment Association (TEA)
| page = [https://aecom.com/content/wp-content/uploads/2019/05/Theme-Index-2018-5-1.pdf#page=37 37]
}}</ref>
}}
| director = [[Kirk Johnson (Scientist)|Kirk Johnson]]
| curator =
| publictransit = {{WMATA link logo}} {{rint|washington|bl}} {{rint|washington|or}} {{rint|washington|sv}} at [[Federal Triangle (WMATA station)|Federal Triangle]]
| website = {{URL|https://naturalhistory.si.edu/}}
}}
- ^ "Collection size". British Museum. Diarkibkan daripada yang asal pada 12 August 2017. Dicapai pada 22 July 2016.
- ^ Association of Leading Visitor Attractions (ALVA), 22 March 2022
- ^ a b "Media Fact Sheet". February 14, 2019. Dicapai pada May 30, 2020.
- ^ TEA/AECOM (September 2021). TEA/AECOM 2020 Theme Index and Museum Index: The Global Attractions Attendance Report (PDF) (Laporan). Themed Entertainment Association (TEA). m/s. 87.
- ^ TEA/AECOM (July 2020). TEA/AECOM 2019 Theme Index and Museum Index: The Global Attractions Attendance Report (PDF) (Laporan). Themed Entertainment Association (TEA). m/s. 93.
- ^ TEA/AECOM (May 2019). TEA/AECOM 2018 Theme Index and Museum Index: The Global Attractions Attendance Report (PDF) (Laporan). Themed Entertainment Association (TEA). m/s. 37.
Tracking category
[sunting sumber]