Template:Infobox lighthouse: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Ligulem
m (bugfix)
>Pigsonthewing
(add hCard microformat per WP:UF; move documentation to /doc)
Line 1: Line 1:
{| class="infobox bordered" style="width:23em; font-size: 90%; background-color: #F6F9FF;"
{| class="infobox bordered vcard" style="width:23em; font-size: 90%; background-color: #F6F9FF;"
|+ style="font-size: larger;" | '''{{{name<includeonly>|{{PAGENAME}}</includeonly>}}}'''
|+ style="font-size: larger;" class="fn org"| '''{{{name<includeonly>|{{PAGENAME}}</includeonly>}}}'''
|-
|-
{{#if: {{{image_name<includeonly>|</includeonly>}}} |
{{#if: {{{image_name<includeonly>|</includeonly>}}} |
Line 6: Line 6:
|-  
|-  
! Location:
! Location:
| {{{location}}}
| <span class="label">{{{location}}}</span>
|- style="vertical-align: middle;"
|- style="vertical-align: middle;"
{{#if: {{{coordinates<includeonly>|</includeonly>}}}{{{latitude|}}}{{{longitude|}}}|
{{#if: {{{coordinates<includeonly>|</includeonly>}}}{{{latitude|}}}{{{longitude|}}}|
Line 19: Line 19:
! Construction:
! Construction:
{{!}} {{{construction}}} }}
{{!}} {{{construction}}} }}
|-
|- class="note"
{{#if: {{{yearlit<includeonly>|</includeonly>}}} |
{{#if: {{{yearlit<includeonly>|</includeonly>}}} |
! Year first lit:
! Year first lit:
Line 31: Line 31:
! Deactivated:
! Deactivated:
{{!}} {{{yeardeactivated}}} }}
{{!}} {{{yeardeactivated}}} }}
|-
|- class="note"
{{#if: {{{automated<includeonly>|</includeonly>}}} |
{{#if: {{{automated<includeonly>|</includeonly>}}} |
! Automated:
! Automated:
Line 39: Line 39:
! Tower&nbsp;shape:
! Tower&nbsp;shape:
{{!}} {{{shape}}} }}
{{!}} {{{shape}}} }}
|-
|- class="note"
{{#if: {{{marking<includeonly>|</includeonly>}}} |
{{#if: {{{marking<includeonly>|</includeonly>}}} |
! Markings/Pattern:
! Markings/Pattern:
Line 67: Line 67:
! Range:
! Range:
{{!}} {{{range}}} }}
{{!}} {{{range}}} }}
|-
|- class="note"
{{#if: {{{characteristic<includeonly>|</includeonly>}}} |
{{#if: {{{characteristic<includeonly>|</includeonly>}}} |
! [[Characteristic light|Characteristic:]]
! [[Characteristic light|Characteristic:]]
Line 73: Line 73:
|}<noinclude>
|}<noinclude>


== Usage ==
{{template doc}}
 
Empty fields and missing lines are not displayed


<pre>
{{Infobox_Lighthouse     
  | image_name =
  | caption =
  | location =
  | coordinates =    {{coor dms|38|55|59|N|74|57|37|W|type:landmark}}
                  or {{coor d|38.9|N|-74.9|E|type:landmark}}
  | yearbuilt =
  | yearlit =
  | automated =
  | yeardeactivated =
  | foundation =
  | construction =
  | shape =
  | marking =
  | height =
  | elevation =
  | lens =
  | currentlens =
  | intensity =
  | range =
  | characteristic =
}}
</pre>
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:geography infobox templates|Lighthouse]]
[[Category:geography infobox templates|Lighthouse]]
</noinclude>
</noinclude>

Revision as of 07:56, 12 May 2007

{{{name}}}
[[Image:{{{image_name}}}|250x300px| ]]
{{{caption}}}
Location: {{{location}}}
Coordinates
WGS-84 (GPS)
{{{coordinates}}}
Foundation: {{{foundation}}}
Construction: {{{construction}}}
Year first lit: {{{yearlit}}}
Year first constructed: {{{yearbuilt}}}
Deactivated: {{{yeardeactivated}}}
Automated: {{{automated}}}
Tower shape: {{{shape}}}
Markings/Pattern: {{{marking}}}
Height: {{{height}}}
Elevation: {{{elevation}}}
Original lens: {{{lens}}}
Current lens: {{{currentlens}}}
Intensity: {{{intensity}}}
Range: {{{range}}}
Characteristic: {{{characteristic}}}

Template:Template doc