साँचा:ज्ञानसन्दूक संग्रहालय/doc

मुक्त ज्ञानकोश विकिपीडिया से

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
 |caption       = 
 |alt           = 
 |map_type      = 
 |map_caption   = 
 |map_alt       =
 |latitude      = 
 |longitude     = 
 |established   = 
 |dissolved     = 
 |location      = 
 |type          = 
 |collection    = 
 |visitors      = 
 |director      = 
 |president     =
 |curator       = 
 |publictransit = 
 |network       =
 |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 museum is identified, omitting the wikilink brackets and the "file:" or "image:" namespace
Example: Louvre.jpg
imagesize
Size of the logo or graphic; the default size is 200px
caption
Image caption
alt
Alt text for image, for people who can't see the image.
map_type
Name used to construct location map; see {{Location map}}
map_caption
Caption given to map if latitude and longitude are used.
Example: FooTown
map_alt
Alt text for map.
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]]
collection
Collection size - amount of objects
visitors
Number of visitors.
Example: 417,096 (2005)
director
The museum's director.
Example: [[Mr Harold Saxon]]
president
Alternative to "director" above
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]]
network
If the museum is part of a museum network
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 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.