Template:Infobox museum/wikidata
{{#property:P103}}: {{#property:P1705}} | |
Location | {{#Property:P17|from= }} Template:EditAtWikidata |
---|---|
Coordinates | Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value). |
Area | P2046 |
Visitors | Lua error in Module:Wd at line 2017: attempt to index field 'wikibase' (a nil value). |
Website | <strong%20class= "error"><span%20class="scribunto-error"%20id="mw-scribunto-error-9">Lua%20error%20in%20Module:Wikidata%20at%20line%20446:%20attempt%20to%20index%20field%20'wikibase'%20(a%20nil%20value). http://<strong%20class="error"><span%20class="scribunto-error"%20id="mw-scribunto-error-9">Lua%20error%20in%20Module:Wikidata%20at%20line%20446:%20attempt%20to%20index%20field%20'wikibase'%20(a%20nil%20value). |
This template uses Lua: |
Usage
{{{native_name}}} | |
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright={{{logo_upright}}}]] | |
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Lua error in Module:Infobox_mapframe at line 118: attempt to index field 'wikibase' (a nil value). | |
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}}} |
Visitors | {{{visitors}}} |
Founder | {{{founder}}} |
Manager | {{{leader}}} |
Director | {{{director}}} |
President | {{{president}}} |
CEO | {{{ceo}}} |
Curator | {{{curator}}} |
Architect | {{{architect}}} |
Historian | {{{historian}}} |
Owner | {{{owner}}} |
Public transit access | {{{publictransit}}} |
Nearest parking | {{{parking}}} |
Website | {{{website}}} |
{{Infobox museum/{{{network}}} network|header}} | |
{{Infobox museum/{{{network}}} network|data}} | |
{{{nrhp}}} |
Just add:
{{Infobox museum}}
to the top of an article, and data will be automatically included from Wikidata where they are available. These values can be overridden by passing values to the relevant parameters in the article (if need be), e.g.:
{{infobox museum | name = }}
Parameters
The full list of parameters is:
Parameter | Default | Description |
---|---|---|
suppressfields | — | Give a list of parameter names to suppress fetching them from Wikidata |
refs | no | Set to yes to show references from Wikidata |
name | Wikidata label (en) (Or Page name) |
Name of the museum |
native_name | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P103) | Name of the museum in the local language, if different |
native_name_lang | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P103) | 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 | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P154) | 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 | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P18) | Image of the museum, omitting the wikilink brackets and the "file:" or "image:" namespace Example: Louvre.jpg |
image_upright | Image scaling factor | |
caption | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P2096) | Image caption |
alt | Alt text for image, for people who can't see the image | |
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 | |
coordinates | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P625) | Latitude and longitude. Use {{Coord}}; see that template's documentation for usage information. |
former_name | Previous name(s) | |
established | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P571) | 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 | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P31) | Type of museum, most likely Art museum, Science museum, Children's museum 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 | |
area | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P2046) | The area of the museum |
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 | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P1037) | The museum's director Example: [[Harold Saxon]] |
president | Alternative to "director" above | |
ceo | Alternative to "ceo" above | |
curator | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P1640) | The curator of the museum Example: [[John Smith]] |
architect | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P84) | 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]] | |
publictransit | The nearest public transport stop Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]] | |
car_park | The nearest car park Example: On site (no charge) | |
parking | Same as car park, but instead renders the label as "parking" for WP:ENGVAR purposes | |
network | If the museum is part of a museum network, specify the network name to invoke one of the network templates. | |
website | Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P856) | Official or primary website operated by the museum. Use the template {{URL}}. Example: {{URL|example.org}} |
embedded | — | Pass another infobox as a child template of this one |
child | no | Enter yes if this template is used as a module (sub-template) of another infobox.
|
locmapin | — | Show location map? Normally it is auto-created from Wikidata if both the coordinate and country are set. Use nomap=True to disable showing any map using info from Wikidata. |
refs | no | Set to 'yes' to show references from Wikidata |
noicon | — | Set to 'no' to hide the Wikidata edit link icons |
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 an "established", "founded", "opened" or similar date, use {{start date}} 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
TemplateData for Infobox museum
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "Name of the museum",
"example": "Foo Museum of Art",
"type": "line",
"suggested": true
},
"native_name": {
"label": "Native name",
"description": "Name of the museum in the local language, if different",
"type": "line"
},
"native_name_lang": {
"label": "Native name language",
"description": "The language of the native name",
"type": "line"
},
"logo": {
"label": "Logo",
"description": "Logo or graphic by which the museum is identified",
"example": "Louvre.jpg",
"type": "wiki-file-name",
"suggested": true
},
"logo_upright": {
"label": "Logo upright",
"description": "Logo scaling factor",
"type": "number"
},
"logo_alt": {
"label": "Logo alt text",
"description": "Alt text for the logo, for people who can't see the image"
},
"logo_caption": {
"label": "Logo caption",
"description": "The caption for the logo",
"type": "string"
},
"image": {
"label": "Image",
"description": "An image of the museum",
"example": "Louvre.jpg",
"type": "wiki-file-name",
"suggested": true
},
"image_upright": {
"label": "Image upright",
"description": "Scaling factor for the image",
"type": "number"
},
"alt": {
"label": "Image alt text",
"description": "Alt text for image, for people who can't see the image",
"type": "string"
},
"caption": {
"label": "Image caption",
"description": "A caption for the image",
"type": "string"
},
"map_type": {
"aliases": [
"pushpin_map"
],
"label": "Map type",
"description": "The name of the map template used to construct location map, see Template:Location map#Available map templates",
"example": "USA Alabama",
"type": "line",
"suggested": true
},
"map_caption": {
"label": "Map caption",
"description": "Text displayed below the map image, if latitude and longitude are used",
"example": "FooTown",
"type": "line"
},
"map_size": {
"label": "Map size",
"description": "Specify a pixel width for the map image",
"example": "250",
"type": "number",
"default": "250"
},
"map_relief": {
"aliases": [
"pushpin_relief"
],
"label": "Show map relief",
"description": "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",
"type": "boolean"
},
"former_name": {
"label": "Former name",
"description": "Previous name(s)",
"type": "line",
"suggested": true
},
"established": {
"label": "Established",
"description": "Date of establishment, using ",
"example": "March 31, 1997 ",
"type": "wiki-template-name",
"suggested": true
},
"dissolved": {
"label": "Dissolved",
"description": "If defunct, date the museum was dissolved. Use ",
"example": "December 31, 2007 ",
"type": "wiki-template-name"
},
"location": {
"label": "Location",
"description": "Location of the museum",
"example": "National Mall, Washington D.C., US",
"type": "line",
"suggested": true
},
"coordinates": {
"label": "Coordinates",
"description": "Alternative to other coordinates parameters, taking Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value). as a single value",
"example": "Lua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value).",
"type": "wiki-template-name"
},
"type": {
"label": "Type",
"description": "Type of museum, most likely Art museum, Science museum, Children's museum or similar",
"example": "Art museum",
"type": "line",
"suggested": true
},
"accreditation": {
"label": "Accreditation",
"example": "American Alliance of Museums",
"type": "line"
},
"key_holdings": {
"label": "Key holdings",
"description": "Important holdings",
"example": "Flaming June",
"type": "line"
},
"collections": {
"label": "Collections",
"description": "The types of collections held by the museum",
"example": "Baroque",
"type": "string"
},
"collection_size": {
"aliases": [
"collection size",
"collection"
],
"label": "Collection size",
"description": "Number of objects",
"example": "20,000",
"type": "number"
},
"visitors": {
"label": "Visitors",
"description": "Number of visitors",
"example": "417,096 (2005)",
"type": "line"
},
"founder": {
"label": "Founder",
"description": "The museum's founder",
"example": "Harold Saxon",
"type": "line"
},
"director": {
"label": "Director",
"description": "The museum's director",
"type": "line"
},
"executive_director": {
"label": "Executive director",
"description": "The museum's executive director",
"type": "line",
"aliases": [
"executive director"
]
},
"president": {
"label": "President",
"description": "The museum's president",
"type": "line"
},
"ceo": {
"label": "CEO",
"description": "The museum's chief executive officer",
"type": "line"
},
"chairperson": {
"label": "Chairperson",
"description": "The museum's chair",
"type": "line"
},
"curator": {
"label": "Curator",
"description": "The curator of the museum",
"type": "line"
},
"architect": {
"label": "Architect",
"description": "The architect of the museum",
"type": "line"
},
"historian": {
"label": "Historian",
"description": "The historian of the museum"
},
"owner": {
"label": "Owner",
"description": "The owner of the museum",
"example": "Government of the City of Miami",
"type": "line"
},
"employees": {},
"publictransit": {
"label": "Public transport",
"description": "The nearest public transport stop",
"example": "Roosevelt Station, Chicago Transit Authority",
"type": "line"
},
"parking": {
"label": "Parking",
"description": "The nearest car park",
"example": "On site (no charge)",
"type": "line"
},
"car_park": {
"label": "Car park",
"description": "Same as car park, but instead renders the label as \"parking\" for WP:ENGVAR purposes",
"type": "line"
},
"website": {
"label": "Website",
"description": "Official or primary website operated by the museum. Use the template {{URL|example.com|optional display text}}
.",
"example": "example
Tracking category
General | |
Government and politics | |
Military | |
Religion | |
Typically non-profit | |
Publications | |
Business | |
Distinctions | |
Subtemplates |
Buildings | |
Structures |
Module:WikidataIB Infoboxes using | |
---|---|
Templates |
- Pages with script errors
- Lua-based templates
- Templates with coordinates fields
- Templates generating hCards and Geo
- Templates using TemplateData
- Navigational templates
- Buildings and structures infobox templates
- Organization infobox templates
- Templates that add a tracking category
- WikiProject Museums templates
- Infobox templates using Wikidata