Template:Infobox lighthouse/doc

Infobox lighthouse may be used to summarise information about a lighthouse.

Usage
Empty fields and missing lines are not displayed

Coordinates
For coordinates, use | latd = | latm = | lats = | latNS = | longd= | longm= | longs= | longEW= | coordinates_display= which displays linked coordinates using the coord template. Example : 42°01'59.23"N, 70°10'07.15"W would be entered as:

| latd = 42 | latm = 1 | lats = 59.23 | latNS = N | longd = 70 | longm = 10 | longs = 7.15 | longEW = W

or it can be entered in decimal notation, 42.033119, -70.168653, as:

| latd = 42.033119 | longd = -70.168653


 * coordinates_display – sets the coord template display option: inline (default), title or inline,title

Alternatively, you can use the coord template directly using the  option. For example,
 * coordinates = 1.03333°N, 3.06667°W

Pushpin map
To add a Location map, specify which map using. For this option to work, the coordinates must be specified using  and   (i.e. don't use  ).


 * for Red pog.svg  (default)
 * for Green pog.svg
 * for Lighthouse icon shifted.svg‎

To add a label next to the pushpin, use, with a value of top, bottom,left, or right. The default value is none.

Other Parameter usage
Parameters left blank will not be shown. All of the parameters are text fields so you can, for example
 * list in a span of years:
 * provide explanation:
 * give more than one answer:

Using the lighthouse infobox template with the NRHP infobox template for USA lights
About three quarters of United States lighthouses are on the National Register of Historic Places. It is useful in those cases to include both Infobox lighthouse and Infobox nrhp in an article. The NRHP infobox can be embedded into the lighthouse template, which makes them display at the same width. This is fully described at Template:Infobox nrhp.

Briefly, insert the entire NRHP infobox template after the last line in the lighthouse infobox that actually has data. It's easiest if the parameters are left in the order above – then the NRHP infobox template goes after the last line that has something on the right side of the equals sign. The remaining parameter lines in the lighthouse infobox template, if any, can be deleted or left in place following the NRHP template.

Add "|embed = yes" as the second line of the NRHP infobox, immediately after }} (two for the lighthouse box and two for the NRHP – but see the third example below for an exception). The insertion should look like this: (Insert the actual NRHP name in place of ABCDE)

. . | fogsignal = none | admiralty = | canada = | NGA = | ARLHS = | USCG = 1-12345 }} or like this . . }} or even like this . . | fogsignal = none <!- the end of the NRHP infobox -> | admiralty = | canada = | NGA = | ARLHS = | USCG = }} <!- the end of the lighthouse infobox -> but not like this . . | fogsignal = none | admiralty = | canada = | NGA = | ARLHS = | USCG = }}
 * fogsignal = none

The tool at http://www2.elkman.net/nrhp/infobox.php is an easy way to create the NRHP infobox, just copy it, paste, and add "| embed = yes". You may want to edit the result a bit, as the National Register database, from which the Elkman tool gets its data, is often a little terse – saying, "COAST GUARD", where you might want "U.S. Coast Guard" and so forth.

Note that the National Register name is often a little different from the name in the article, so if your search doesn't succeed, try using just one word from it. The Elkman tool can find all uses of any word in the name, so a search on "Light" will show all lighthouses in a state and "Point" will find eleven lights in California. In cases where the name is different, you will probably want to show the NRHP name in the NRHP infobox as it clarifies that the reader is in the right place, see Doubling Point Range Lights, for example.

Microformat
de:Vorlage:Infobox Leuchtturm fr:Modèle:Infobox Phare it:Template:Faro nl:Sjabloon:Infobox vuurtoren ja:Template:灯台 pt:Predefinição:Info/Farol ru:Шаблон:Маяк fi:Malline:Majakka zh:Template:Infobox lighthouse