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

From blackwiki
Jump to navigation Jump to search
(+ja)
imported>Kralizec!
(expanded usage section, added description of fields section)
Line 2: Line 2:
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
==Usage==
 
==Usage==
<pre>
+
Copy a blank version to use.  All fields '''''must''''' be [[lowercase]], and all are optional except for ''name'', ''established'', ''location'', and ''website''.
{{Infobox Museum
+
 
  |name       =  
+
{| class="wikitable"
  |image       =  
+
|- width="50%" style="vertical-align:top;"
  |imagesize   = 200
+
! Vertical list !! Requirements
  |map_type   =
+
|- width="50%" style="vertical-align:top;"
  |latitude   =
+
| style="vertical-align:top; padding:1ex;" |<pre>{{Infobox Museum
  |longitude  =
+
  |name         =  
  |established =  
+
  |image         =  
  |location   =  
+
  |imagesize     = 200
  |type       =  
+
  |map_type     =
  |visitors   =  
+
  |latitude     =
  |director   =  
+
  |longitude     =
  |curator     =  
+
|established   =  
  |publictransit=
+
  |dissolved    =
  |website     =  
+
  |location     =  
}}
+
  |type         =  
</pre>
+
  |visitors     =  
 +
  |director     =  
 +
  |curator       =  
 +
  |publictransit =
 +
  |website       =  
 +
}}</pre>
 +
| style="vertical-align:top;padding:1ex;" |<pre>
 +
&nbsp;
 +
REQUIRED
 +
&nbsp;
 +
&nbsp;
 +
&nbsp;
 +
&nbsp;
 +
&nbsp;
 +
REQUIRED
 +
&nbsp;
 +
REQUIRED
 +
&nbsp;
 +
&nbsp;
 +
&nbsp;
 +
&nbsp;
 +
&nbsp;
 +
REQUIRED
 +
&nbsp;</pre>
 +
|}
 +
 
 +
==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. <br /> Example: Foo Museum of Art
 +
; image : Logo or graphic by which the company is currently and most readily identified.  This is preferentially a gray-scale image.
 +
; imagesize : Size of the logo or graphic; the default size is 200px.
 +
; map_type : Caption given to map if latitude and longitude are used. <br /> Example: FooTown
 +
; latitude : The [[latitude]] coordinate of the museum. <br /> Example: 51.45
 +
; longitude : The [[longitude]] coordinate of the museum. <br /> Example: -2.5813
 +
; 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>
 +
; location * : Location of the museum. <br /> Example: <nowiki>[[National Mall]], [[Washington D.C.]]</nowiki> <br /> Example: <nowiki>[[Moncton]], [[New Brunswick]], [[Canada]]</nowiki>
 +
; type : [[:Category:Types of museum|Type of museum]], most likely ''Art museum'', ''Science museum'', ''Children's museum'' or similar. <br /> Example: <nowiki>[[Art museum]]</nowiki> <br /> Example: <nowiki>[[Science museum]]</nowiki> <br /> Example: <nowiki>[[Children's museum]]</nowiki>
 +
; visitors : Number of visitors. <br /> Example: 417,096 (2005)
 +
; director : The museum's director. <br /> <nowiki> Example: [[Mr Harold Saxon]]</nowiki>
 +
; curator : The [[curator]] of the museum. <br /> <nowiki> Example: [[Dr. John Smith]]</nowiki>
 +
; publictransit : The nearest [[public transport]] stop. <br /> <nowiki> Example: [[Roosevelt/State (CTA)|Roosevelt Station]], [[Chicago Transit Authority]]</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 17:23, 25 January 2008

Template:Template doc page viewed directly

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
 |map_type      =
 |latitude      =
 |longitude     =
 |established   = 
 |dissolved     =
 |location      = 
 |type          = 
 |visitors      = 
 |director      = 
 |curator       = 
 |publictransit =
 |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 company is currently and most readily identified. This is preferentially a gray-scale image.
imagesize 
Size of the logo or graphic; the default size is 200px.
map_type 
Caption given to map if latitude and longitude are used.
Example: FooTown
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]]
visitors 
Number of visitors.
Example: 417,096 (2005)
director 
The museum's director.
Example: [[Mr Harold Saxon]]
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]]
website 
Official or primary website operated by the museum.
Example: [http://www.fooart.museum/ www.fooart.museum]

Microformat

Template:UF-hcard-geo