Template:Infobox museum/doc

From Constructed Worlds Wiki
Jump to navigation Jump to search

Usage

Copy a blank version to use. All parameter names must be lowercase.

{{{name}}}
{{{native_name}}}
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright={{{logo_upright}}}|{{{logo_alt}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{caption}}}
Former name
{{{former_name}}}
Established {{{established}}}
Dissolved {{{dissolved}}}
Location {{{location}}}
Coordinates {{{coordinates}}}
Type {{{type}}}
Accreditation {{{accreditation}}}
Key holdings {{{key_holdings}}}
Collections {{{collections}}}
Collection size {{{collection_size}}}
Visitors {{{visitors}}}
Founder {{{founder}}}
Executive director {{{executive_director}}}
{{{leader_type}}} {{{leader}}}
Director {{{director}}}
President {{{president}}}
CEO {{{ceo}}}
Chairperson {{{chairperson}}}
Curator {{{curator}}}
Architect {{{architect}}}
Historian {{{historian}}}
Owner {{{owner}}}
Employees {{{employees}}}
Public transit access {{{publictransit}}}
Nearest parking {{{parking}}}
Website {{{website}}}
{{Infobox museum/{{{network}}} network|header}}
{{Infobox museum/{{{network}}} network|data}}
{{{embedded}}}
{{Infobox museum
| name               = 
| native_name        = 
| native_name_lang   = 
| logo               = 
| logo_upright       = 
| logo_alt           = 
| logo_caption       = 
| image              = 
| image_size         = 
| 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 = 
| 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

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

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 map templates
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 (not map_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

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: Template:Infobox mapframe/doc/parameters

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.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox museum

An infobox for museums

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the museum

Example
Foo Museum of Art
Linesuggested
Native namenative_name

Name of the museum in the local language, if different

Lineoptional
Native name languagenative_name_lang

The language of the native name

Lineoptional
Logologo

Logo or graphic by which the museum is identified

Example
Louvre.jpg
Filesuggested
Logo uprightlogo_upright

Logo scaling factor

Numberoptional
Logo alt textlogo_alt

Alt text for the logo, for people who can't see the image

Unknownoptional
Logo captionlogo_caption

The caption for the logo

Stringoptional
Imageimage

An image of the museum

Example
Louvre.jpg
Filesuggested
image_sizeimage_size imagesize

no description

Stringoptional
Image uprightimage_upright

Scaling factor for the image

Numberoptional
Image captioncaption

A caption for the image

Stringoptional
Image alt textalt

Alt text for image, for people who can't see the image

Stringoptional
Map typemap_type pushpin_map image_map

The name of the map template used to construct location map, see [[Template:Location map#Available map templates]]

Example
USA Alabama
Linesuggested
Map captionmap_caption

Text displayed below the map image, if latitude and longitude are used

Example
FooTown
Lineoptional
Map sizemap_size

Specify a pixel width for the map image

Default
250
Example
250
Numberoptional
Show map reliefmap_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]]

Booleanoptional
map_dot_labelmap_dot_label map dot label

no description

Stringoptional
Former nameformer_name former_names

Previous name(s)

Linesuggested
Establishedestablished

Date of establishment, using {{Start date}}

Example
{{Start date|1997|03|31}}
Templatesuggested
Dissolveddissolved

If defunct, date the museum was dissolved. Use {{End date}}

Example
{{End date|2007|12|31}}
Templateoptional
Locationlocation

Location of the museum

Example
[[National Mall]], [[Washington D.C.]], [[United States|US]]
Linesuggested
Coordinatescoordinates

Alternative to other coordinates parameters, taking {{Coord}} as a single value

Example
{{Coord|44.112|N|87.913|W|display=title}}
Templateoptional
Typetype

Type of museum, most likely Art museum, Science museum, Children's museum or similar

Example
[[Art museum]]
Linesuggested
Accreditationaccreditation

no description

Example
[[American Alliance of Museums]]
Lineoptional
Key holdingskey_holdings

Important holdings

Example
[[Flaming June]]
Lineoptional
Collectionscollections collections_type

The types of collections held by the museum

Example
[[Baroque]]
Stringoptional
Collection sizecollection_size collection size collection

Number of objects

Example
20,000
Numberoptional
Visitorsvisitors

Number of visitors

Example
417,096 (2005)
Lineoptional
Founderfounder

The museum's founder

Example
[[Harold Saxon]]
Lineoptional
Executive directorexecutive_director executive director

The museum's executive director

Lineoptional
Directordirector

The museum's director

Lineoptional
Presidentpresident

The museum's president

Lineoptional
CEOceo

The museum's chief executive officer

Lineoptional
Chairpersonchairperson

The museum's chair

Lineoptional
Curatorcurator

The curator of the museum

Lineoptional
Architectarchitect

The architect of the museum

Lineoptional
Historianhistorian

The historian of the museum

Unknownoptional
Ownerowner

The owner of the museum

Example
[[Government of the City of Miami]]
Lineoptional
employeesemployees

no description

Stringoptional
Public transportpublictransit

The nearest public transport stop

Example
[[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]
Lineoptional
Parkingparking

The nearest parking

Example
On site (no charge)
Lineoptional
Car parkcar_park

Same as parking, but instead renders the label as "car park" for [[WP:ENGVAR]] purposes

Lineoptional
Websitewebsite

Official or primary website operated by the museum. Use the template {{URL}}.

Example
{{URL|example.org}}
Templatesuggested
Networknetwork

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]

Lineoptional
nrhpnrhp

no description

Templateoptional
embeddedembedded embed

no description

Templateoptional
leader_typeleader_type

no description

Stringoptional
leaderleader

no description

Stringoptional
map_altmap_alt

no description

Stringoptional

Tracking category

Attribution notices
Wikipedia logo This page uses material from the Wikipedia page Template:Infobox museum, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors).
Wikipedia logo This page uses material from the Wikipedia page Template:Infobox museum/doc, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors).