User:Nelson.gashagaza/sandbox


Usage

edit

Copy a blank version to use. All fields must be lowercase.

{{{name}}}
{{{native_name}}}
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright={{{logo_upright}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
Lua error in Module:Mapframe at line 384: attempt to perform arithmetic on local 'lat_d' (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}}}
Director{{{director}}}
President{{{president}}}
Chairperson{{{chairperson}}}
Curator{{{curator}}}
Historian{{{historian}}}
Owner{{{owner}}}
Public transit access{{{publictransit}}}
Nearest parking{{{parking}}}
Website{{{website}}}
{{Infobox museum/{{{network}}} network|header}}
{{Infobox museum/{{{network}}} network|data}}
{{{nrhp}}}
{{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       = 
| latitude            = 
| longitude           = 
| lat_deg             = 
| lat_min             = 
| lat_sec             = 
| lat_dir             = 
| lon_deg             = 
| lon_min             = 
| lon_sec             = 
| lon_dir             = 
| coordinates_type    = 
| coordinates_region  = 
| coordinates_format  = 
| coordinates_display = 
| coordinates         = 
| former_name         = 
| 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             = 
| director            = 
| president           = 
| chairperson         =
| curator             = 
| historian           =
| owner               = 
| publictransit       = 
| car_park            = 
| parking             = 
| network             = 
| website             = <!-- {{URL|example.com}} -->
| embedded            = 
}}

Parameters

edit

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
caption
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 250.
Example: map_size=220 (not map_size=220px).
map_caption
Text displayed below the map image, if latitude and longitude are used
Example: FooTown
map_dot_label
Text displayed next to the dot on the map
latitude
The latitude coordinate of the museum
Example: 51.45
For DMS coordinates, use lat_deg, lat_min, lat_sec, and lat_dir.
longitude
The longitude coordinate of the museum
Example: -2.5813
For DMS coordinates, use lon_deg, lon_min, lon_sec, and lon_dir.
coordinates_type
A list of coordinate parameters passed to {{coord}}, such as region:GB_type:landmark_dim:100_source:enwiki-osgb36(NM423315). In most cases this list should at least include type:landmark. The default is simply type:landmark.
coordinates_region
The ISO 3166-1 alpha-2 or ISO 3166-2 code, e.g. |coordinates_region=GB or |coordinates_region=US-NY
coordinates_format
coordinates_display
Usually inline,title, otherwise inline
coordinates
An alternative, taking {{Coord}} as a single value
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: {{Start 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 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]]
director
The museum's director
Example: [[Harold Saxon]]
president
Alternative to "director" above
curator
The curator of the museum
Example: [[John Smith]]
assistant curator
The assistant curator 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
Official or primary website operated by the museum. Use the template {{URL}}.
Example: {{URL|example.org}}
embedded
Enter yes if this template is used as a module (sub-template) of another infobox.

Microformat

edit

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

edit

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

edit

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

edit

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

See also

edit