الگو:جعبه فانوس دریایی
{{Infobox lighthouse}} may be used to summarise information about a lighthouse.
Usage[ویرایش]
Empty fields and missing lines are not displayed
{{Infobox lighthouse | name = | image_name = | image_width = | caption = | location = | pushpin_map = | relief = | pushpin_mapsize = | pushpin_map_alt = | pushpin_map_caption = | pushpin = | pushpin_label_position = | latd = | latm = | lats = | latNS = | longd = | longm = | longs = | longEW = | coordinates_display = | coordinates_footnotes = | yearbuilt = | yearlit = | automated = | yeardeactivated = | foundation = | construction = | shape = | marking = | height = | focalheight = | lens = | currentlens = | lightsource = | intensity = | range = | characteristic = | fogsignal = | racon = | admiralty = | canada = | NGA = | ARLHS = | USCG = | country = | countrynumber = | countrylink = | managingagent = | heritage = }}
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 coordinates =
option. For example,
| coordinates = {{coord|1|2|N|3|4|E|type:landmark|display=inline,title}}
Pushpin map[ویرایش]
To add a {{Location map}}, specify which map using pushpin_map=
. For this option to work, the coordinates must be specified using latd=
and longd=
(i.e. don't use coordinates=
).
Parameter | Usage | Example(s) |
---|---|---|
pushpin_map | The name of the map to be displayed. | pushpin_map=France pushpin_map=USA Florida
|
relief | Any non-blank value will cause the template to display a relief map image, where available. For additional information, see Template:Location map#Relief parameter. | relief=yes relief=1
|
pushpin_mapsize | Width to display the map image in pixels. The default is 240. | pushpin_mapsize=200 (not pushpin_mapsize=200px )
|
pushpin_map_alt | Alternative text for the map image, see WP:ALT. | |
pushpin_map_caption | Text displayed below the map image | |
pushpin | Specify one of three pre-defined marker images to be displayed on the location map. | pushpin=red for ![]() pushpin=green for ![]() pushpin=lighthouse for ![]() |
pushpin_label_position | To add a label next to the pushpin, use a value of top, bottom,left, or right. The default value is none. | pushpin_label_position=top pushpin_label_position=bottom pushpin_label_position=left pushpin_label_position=right
|
توضیحات بالا تراگنجاندهشده از الگو:جعبه فانوس دریایی/توضیحات است. (ویرایش | تاریخچه) ویرایشگران میتوانند در صفحات تمرین (ایجاد | آینه) و آزمایشی (ایجاد) این الگو را آزمایش کنند. لطفاً ردهها را به زیرصفحهٔ /توضیحات بیفزایید. زیرصفحههای این الگو. |