Difference between revisions of "Template:Infobox museum/doc"

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 23 interwiki links, now provided by Wikidata on d:Q6232685)
imported>Zyxw
m (Include "map_relief" in blank template. Remove "map_alt" from documentation since not currently implemented in this infobox. Remove interwikis now residing in Wikidata d:Q6232685.)
Line 17: Line 17:
 
| alt              =  
 
| alt              =  
 
| map_type        =  
 
| map_type        =  
 +
| map_relief      =
 +
| map_size        =
 
| map_caption      =  
 
| map_caption      =  
| map_alt          =
 
| map_size        =
 
 
| latitude        =  
 
| latitude        =  
 
| longitude        =  
 
| longitude        =  
Line 53: Line 53:
 
; caption : Image caption
 
; caption : Image caption
 
; alt : [[WP:ALT|Alt text]] for image, for people who can't see the image.
 
; alt : [[WP: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 {{tl|Location map}} Example: Alabama
+
; map_type : The name of the map template used to construct location map, see [[Template:Location map#Available map templates]]. <br /> Example: [[Template:Location map USA Alabama|USA Alabama]].
; map_caption : Caption given to map if latitude and longitude are used. <br /> Example: FooTown
+
; map_relief : Set this to <code>y</code> or any non-blank value to use a [[relief mapping (computer graphics)|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_alt : Alt text for map.
+
; map_size : Specify a pixel width for the map image. The default is 250. <br /> Example: <code>map_size=220</code> (not <code>map_size=220px</code>).
; map_size : Specify a pixel width for the map (default=250)
+
; map_caption : Text displayed below the map image, if latitude and longitude are used. <br /> Example: FooTown
; map_relief : Set this to <code>y</code> or any non-blank value to use a relief map provided by the selected location map template (if a relief map is availabe).
 
 
; latitude : The [[latitude]] coordinate of the museum. <br /> Example: 51.45 <br /> For DMS coordinates, use '''lat_deg''', '''lat_min''', '''lat_sec''', and '''lat_dir'''.
 
; latitude : The [[latitude]] coordinate of the museum. <br /> Example: 51.45 <br /> For DMS coordinates, use '''lat_deg''', '''lat_min''', '''lat_sec''', and '''lat_dir'''.
 
; longitude : The [[longitude]] coordinate of the museum. <br /> Example: -2.5813 <br /> For DMS coordinates, use '''lon_deg''', '''lon_min''', '''lon_sec''', and '''lon_dir'''.
 
; longitude : The [[longitude]] coordinate of the museum. <br /> Example: -2.5813 <br /> For DMS coordinates, use '''lon_deg''', '''lon_min''', '''lon_sec''', and '''lon_dir'''.
Line 82: Line 81:
 
==Microformat==
 
==Microformat==
 
{{UF-hcard-geo}}
 
{{UF-hcard-geo}}
 
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
Line 88: Line 86:
 
[[Category:Organization infobox templates|Museum]]
 
[[Category:Organization infobox templates|Museum]]
 
[[Category:WikiProject Museums templates]]
 
[[Category:WikiProject Museums templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
  
</includeonly>
+
<!-- ADD INTERWIKIS TO WIKIDATA -->
  
<includeonly>
 
[[be-x-old:Шаблён:Музэй/Дакумэнтацыя]]
 
[[pl:Szablon:Muzeum infobox]]
 
 
</includeonly>
 
</includeonly>

Revision as of 08:11, 29 May 2013

Usage

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

Vertical list
{{Infobox museum
| name             = 
| native_name      = 
| native_name_lang = 
| image            = 
| imagesize        = 200
| caption          = 
| alt              = 
| map_type         = 
| map_relief       = 
| map_size         =
| map_caption      = 
| latitude         = 
| longitude        = 
| coordinates_type = 
| coordinates_region = 
| coordinates_display = 
| coordinates_format = 
| coordinates      = 
| established      = 
| dissolved        = 
| location         = 
| type             = 
| collection       = 
| visitors         = 
| director         = 
| president        = 
| curator          = 
| owner            =
| publictransit    = 
| car_park         = 
| network          = 
| website          = 
}}

Description of 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
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.
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 
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
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.
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|USA]]
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: [[Harold Saxon]]
president 
Alternative to "director" above
curator 
The 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)
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}}

Microformat

Template:UF-hcard-geo