Template:Infobox museum/doc
This is a documentation subpage for Template:Infobox museum. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Copy a blank version to use. All fields must be lowercase, and all are optional except for name, established, location, and website.
Vertical list | Requirements |
---|---|
{{Infobox museum |name = |image = |imagesize = 200 |map_type = |map_caption = |latitude = |longitude = |established = |dissolved = |location = |type = |visitors = |director = |curator = |publictransit = |website = }} |
REQUIRED REQUIRED REQUIRED REQUIRED |
Description of fields
Field names with asterisks (*) are required fields. 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 - image
- Logo or graphic by which the company is currently and most readily identified. This is preferentially a gray-scale image.
- imagesize
- Size of the logo or graphic; the default size is 200px.
- map_type
- Caption given to map if latitude and longitude are used.
Example: FooTown - latitude
- The latitude coordinate of the museum.
Example: 51.45 - longitude
- The longitude coordinate of the museum.
Example: -2.5813 - established *
- Date of the museum's establishment.
Example: [[31 March]] [[1997]] - dissolved
- If defunct, date the museum was dissolved.
Example: [[31 December]] [[2007]] - location *
- Location of the museum.
Example: [[National Mall]], [[Washington D.C.]]
Example: [[Moncton]], [[New Brunswick]], [[Canada]] - type
- Type of museum, most likely Art museum, Science museum, Children's museum or similar.
Example: [[Art museum]]
Example: [[Science museum]]
Example: [[Children's museum]] - visitors
- Number of visitors.
Example: 417,096 (2005) - director
- The museum's director.
Example: [[Mr Harold Saxon]] - curator
- The curator of the museum.
Example: [[Dr. John Smith]] - publictransit
- The nearest public transport stop.
Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]] - website
- Official or primary website operated by the museum.
Example: [http://www.fooart.museum/ www.fooart.museum]
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles 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.
Sub-templates
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- 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.
Precision
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.