සැකිල්ල:Infobox museum/ලේඛය
මෙම සැකිල්ල ලුවා භාවිතා කරයි: |
Usage
සංස්කරණයCopy a blank version to use. All fields must be lowercase.
{{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 = | coordinates = <!-- {{Coord}} --> | 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 = | ceo = | chairperson = | curator = | architect = | historian = | owner = | publictransit = | car_park = | parking = | network = | website = <!-- {{URL|example.com}} --> | embedded = }}
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
- 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 220.
Example:map_size=230
(notmap_size=230px
). - map_caption
- Text displayed below the map image.
Example: FooTown - 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 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
- ceo
- Alternative to "ceo" above
- 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]] - 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
සංස්කරණය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
සංස්කරණයTemplateData for Infobox museum
An infobox for museums
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the museum
| Line | suggested |
Native name | native_name | Name of the museum in the local language, if different | Line | optional |
Native name language | native_name_lang | The language of the native name | Line | optional |
Logo | logo | Logo or graphic by which the museum is identified
| File | suggested |
Logo upright | logo_upright | Logo scaling factor | Number | optional |
Logo alt text | logo_alt | Alt text for the logo, for people who can't see the image | Unknown | optional |
Logo caption | logo_caption | The caption for the logo | String | optional |
Image | image | An image of the museum
| File | suggested |
Image upright | image_upright | Scaling factor for the image | Number | optional |
Image caption | caption | A caption for the image | String | optional |
Image alt text | alt | Alt text for image, for people who can't see the image | String | optional |
Map type | map_type pushpin_map | The name of the map template used to construct location map, see [[Template:Location map#Available map templates]]
| Line | suggested |
Map caption | map_caption | Text displayed below the map image, if latitude and longitude are used
| Line | optional |
Map size | map_size | Specify a pixel width for the map image
| Number | optional |
Show map relief | map_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]] | Boolean | optional |
Latitude | latitude | The latitude coordinate of the museum (decimal)
| Number | suggested |
Longitude | longitude | The longitude coordinate of the museum (decimal)
| Unknown | optional |
Latitude degrees | lat_deg | For inputting latitude and longitude in DMS form, instead of decimal | Number | optional |
Latitude minutes | lat_min | For inputting latitude and longitude in DMS form, instead of decimal | Number | optional |
Latitude seconds | lat_sec | For inputting latitude and longitude in DMS form, instead of decimal | Number | optional |
Latitude direction | lat_dir | For inputting latitude and longitude in DMS form, instead of decimal
| Line | optional |
Longitude degrees | lon_deg | For inputting latitude and longitude in DMS form, instead of decimal | Number | optional |
Longitude minutes | lon_min | For inputting latitude and longitude in DMS form, instead of decimal | Number | optional |
Longitude seconds | lon_sec | For inputting latitude and longitude in DMS form, instead of decimal | Number | optional |
Longitude direction | lon_dir | For inputting latitude and longitude in DMS form, instead of decimal
| Line | optional |
Former name | former_name | Previous name(s) | Line | suggested |
Established | established | Date of establishment, using {{Start date}}
| Template | suggested |
Dissolved | dissolved | If defunct, date the museum was dissolved. Use {{End date}}
| Template | optional |
Location | location | Location of the museum
| Line | suggested |
Coordinates type | coordinates_type | A list of coordinate parameters passed to {{coord}}
| String | optional |
Coordinates region | coordinates_region | The [[ISO 3166-1 alpha-2]] or [[ISO 3166-2]] code for the coordinate region
| Line | optional |
Coordinate display | coordinates_display | no description
| Unknown | optional |
Coordinates format | coordinates_format | Force a format for coordinate display | Line | optional |
Coordinates | coordinates | Alternative to other coordinates parameters, taking {{Coord}} as a single value
| Template | optional |
Type | type | Type of museum, most likely Art museum, Science museum, Children's museum or similar
| Line | suggested |
Accreditation | accreditation | no description
| Line | optional |
Key holdings | key_holdings | Important holdings
| Line | optional |
Collections | collections | The types of collections held by the museum
| String | optional |
Collection size | collection_size collection size collection | Number of objects
| Number | optional |
Visitors | visitors | Number of visitors
| Line | optional |
Founder | founder | The museum's founder
| Line | optional |
Director | director | The museum's director | Line | optional |
President | president | The museum's president | Line | optional |
CEO | ceo | The museum's chief executive officer | Line | optional |
Chairperson | chairperson | The museum's chair | Line | optional |
Curator | curator | The curator of the museum | Line | optional |
Architect | architect | The architect of the museum | Line | optional |
Historian | historian | The historian of the museum | Unknown | optional |
Owner | owner | The owner of the museum
| Line | optional |
employees | employees | no description | Unknown | optional |
Public transport | publictransit | The nearest public transport stop
| Line | optional |
Parking | parking | The nearest car park
| Line | optional |
Car park | car_park | Same as car park, but instead renders the label as "parking" for [[WP:ENGVAR]] purposes | Line | optional |
Website | website | Official or primary website operated by the museum. Use the template {{URL}}.
| Template | suggested |
Network | network | 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] | Line | optional |
nrhp | nrhp | no description | Unknown | optional |
embedded | embedded | no description | Unknown | optional |
Tracking category
සංස්කරණය