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

From blackwiki
Jump to navigation Jump to search
imported>MacedonianBoy
imported>Plastikspork
(Update documentation)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>
+
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
==Usage==
 
==Usage==
Line 8: Line 8:
 
! Vertical list !! Requirements
 
! Vertical list !! Requirements
 
|- width="50%" style="vertical-align:top;"
 
|- width="50%" style="vertical-align:top;"
| style="vertical-align:top; padding:1ex;" |<pre>{{Infobox Museum
+
| style="vertical-align:top; padding:1ex;" |<pre>{{Infobox museum
 
  |name            =  
 
  |name            =  
 
  |native_name      =  
 
  |native_name      =  
Line 21: Line 21:
 
  |latitude        =  
 
  |latitude        =  
 
  |longitude        =  
 
  |longitude        =  
 +
|coordinates_type =
 
  |established      =  
 
  |established      =  
 
  |dissolved        =  
 
  |dissolved        =  
Line 37: Line 38:
 
&nbsp;
 
&nbsp;
 
REQUIRED
 
REQUIRED
 +
&nbsp;
 
&nbsp;
 
&nbsp;
 
&nbsp;
 
&nbsp;
Line 56: Line 58:
 
&nbsp;
 
&nbsp;
 
&nbsp;
 
&nbsp;
REQUIRED
+
&nbsp;
 +
&nbsp;
 +
&nbsp;
 +
&nbsp;
 
&nbsp;</pre>
 
&nbsp;</pre>
 
|}
 
|}
Line 72: Line 77:
 
; map_caption : Caption given to map if latitude and longitude are used. <br /> Example: FooTown
 
; map_caption : Caption given to map if latitude and longitude are used. <br /> Example: FooTown
 
; map_alt : Alt text for map.
 
; map_alt : Alt text for map.
; latitude : The [[latitude]] coordinate of the museum. <br /> Example: 51.45
+
; 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
+
; 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'''.
 +
; coordinates_type : See {{tl|coord}}, default is ''type:landmark''.
 
; established * : Date of the museum's [[wikt:establish|establishment]]. <br /> Example: <nowiki>31 March 1997</nowiki>
 
; established * : Date of the museum's [[wikt:establish|establishment]]. <br /> Example: <nowiki>31 March 1997</nowiki>
 
; dissolved : If [[wikt:defunct|defunct]], date the museum was dissolved. <br /> Example: <nowiki>31 December 2007</nowiki>
 
; dissolved : If [[wikt:defunct|defunct]], date the museum was dissolved. <br /> Example: <nowiki>31 December 2007</nowiki>
Line 85: Line 91:
 
; publictransit : The nearest [[public transport]] stop. <br /> <nowiki> Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]</nowiki>
 
; publictransit : The nearest [[public transport]] stop. <br /> <nowiki> Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]</nowiki>
 
; network : If the museum is part of a museum network
 
; network : If the museum is part of a museum network
; website * : Official or primary website operated by the museum. <br /> Example: <nowiki>[http://www.fooart.museum/ www.fooart.museum]</nowiki>
+
; website : Official or primary website operated by the museum. <br /> Example: <nowiki>[http://www.fooart.museum/ www.fooart.museum]</nowiki>
  
 
==Microformat==
 
==Microformat==

Revision as of 00:45, 7 February 2010

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             = 
 |native_name      = 
 |native_name_lang = 
 |image            = 
 |imagesize        = 200
 |caption          = 
 |alt              = 
 |map_type         = 
 |map_caption      = 
 |map_alt          =
 |latitude         = 
 |longitude        = 
 |coordinates_type = 
 |established      = 
 |dissolved        = 
 |location         = 
 |type             = 
 |collection       = 
 |visitors         = 
 |director         = 
 |president        =
 |curator          = 
 |publictransit    = 
 |network          =
 |website          = 
}}
 
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
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 
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
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 
See {{coord}}, default is type:landmark.
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: [[Harold Saxon]]
president 
Alternative to "director" above
curator 
The curator of the museum.
Example: [[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

Template:UF-hcard-geo