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

From blackwiki
Jump to navigation Jump to search
imported>Quest for Truth
imported>Pigsonthewing
Line 10: Line 10:
 
|code            =  
 
|code            =  
 
|location        =  
 
|location        =  
|coords          =  
+
|coords          = <!-- {{Coord|LAT|LONG||display=inline,title}} -->
 
|altitude        =  
 
|altitude        =  
 
|weather        =  
 
|weather        =  
|established    =  
+
|established    = <!-- {{Start date|YYYY|MM|DD}} -->
 
|closed          =  
 
|closed          =  
|website        =  
+
|website        = <!-- {{Urlw|example.com}} -->
 
|telescope1_name =  
 
|telescope1_name =  
 
|telescope1_type =  
 
|telescope1_type =  
Line 40: Line 40:
 
| coords      || Location coordinates. Use {{tl|coord}} with ''display=inline,title''</tr>
 
| coords      || Location coordinates. Use {{tl|coord}} with ''display=inline,title''</tr>
 
| altitude    || The altitude of the observatory.</tr>
 
| altitude    || The altitude of the observatory.</tr>
| established  || When the observatory was established.<br />Use  {{Tl|Start date}}</tr>
+
| established  || When the observatory was established. Use  {{Tl|Start date}}</tr>
 
| closed      || When the observatory was closed, if appropriate.</tr>
 
| closed      || When the observatory was closed, if appropriate.</tr>
| website      || The URL of the website for the observatory.</tr>
+
| website      || The URL of the website for the observatory. Use {{tl|Urlw}}</tr>
 
|-
 
|-
 
| telescope1_name  || The name of the observatory's first telescope.</tr>
 
| telescope1_name  || The name of the observatory's first telescope.</tr>

Revision as of 11:54, 7 June 2010

Usage

{{Infobox observatory
|name            = {{SUBST:PAGENAME}}
|background      = 
|image           = 
|caption         = 
|organization    = 
|code            = 
|location        = 
|coords          = <!-- {{Coord|LAT|LONG||display=inline,title}} -->
|altitude        = 
|weather         = 
|established     = <!-- {{Start date|YYYY|MM|DD}} -->
|closed          = 
|website         = <!-- {{Urlw|example.com}} -->
|telescope1_name = 
|telescope1_type = 
|telescope2_name = 
|telescope2_type = 
|telescope3_name = 
|telescope3_type = 
|telescope4_name = 
|telescope4_type = 
}}
Parameter Description
Required parameters in bold
name The name of the observatory.
background The colour of the background of the table.
image The image for the infobox (use full wikicode).
caption A caption for the image.
organization The organization responsible for the observatory.
code Observatory code.
location The observatory's location.
coords Location coordinates. Use {{coord}} with display=inline,title
altitude The altitude of the observatory.
established When the observatory was established. Use {{Start date}}
closed When the observatory was closed, if appropriate.
website The URL of the website for the observatory. Use {{Urlw}}
telescope1_name The name of the observatory's first telescope.
telescope1_type First telescope's type (and any additional information).
telescope2_name The name of the observatory's second telescope.
telescope2_type Second telescope's type (and any additional information).
etc....
telescope29_name The name of the observatory's twenty-ninth telescope.
telescope29_type Twenty-ninth telescope's type (and any additional information).
telescope30_name The name of the thirtieth telescope.
telescope30_type Thirtieth telescope's type (and any additional information).

Examples of use

Microformat

Template:UF-hcard-geo

See also

Template:Organization infoboxes