قالب:جدول فنار/sandbox
الإحداثيات | {{WikidataCoord}} – missing coordinate data |
---|
This is the template sandbox page for قالب:جدول فنار (diff). |
Uses Lua: |
{{Infobox lighthouse}} may be used to summarise information about a lighthouse. Much of this infobox's data will be retrieved from Wikidata. Editors are encouraged to add data to the relevant item.
Parameters for the tower
Label | Wikidata properties | Usage | Example(s) | Override parameter |
---|---|---|---|---|
Image | [خطأ: الوظيفة "wdurl" غير موجودة. image (P18)] qualified by [خطأ: الوظيفة "wdurl" غير موجودة. media legend (P2096)] | An image of the lighthouse stored on Wikimedia Commons. A caption can be included with [خطأ: الوظيفة "wdurl" غير موجودة. media legend (P2096)]. | Cuxhaven 07-2016 photo23 Kugelbake.jpg | |image_name= , |caption=
|
Location | [خطأ: الوظيفة "wdurl" غير موجودة. coordinate location (P625)], [خطأ: الوظيفة "wdurl" غير موجودة. located in/on physical feature (P706)], [خطأ: الوظيفة "wdurl" غير موجودة. location (P276)], [خطأ: الوظيفة "wdurl" غير موجودة. located in the administrative territorial entity (P131)], [خطأ: الوظيفة "wdurl" غير موجودة. country (P17)] | Location of the lighthouse. | [خطأ: الوظيفة "wdurl" غير موجودة. list of state leaders in 950 (Q126514)] | |location=
|
OS grid | [خطأ: الوظيفة "wdurl" غير موجودة. OS grid reference (P613)] | Ordnance Survey National Grid coordinates. | NZ40806416 | |grid_ref_UK=
|
Coordinates | [خطأ: الوظيفة "wdurl" غير موجودة. coordinate location (P625)] | Latitude and longitude of the position of the lighthouse. If specifying manually, use the {{Coord}} template. A map will automatically be included in the infobox unless it is turned off (see #Maps). | 29°4'18.012"N, 48°29'35.988"E | |coordinates={{Coord||N||E}}
|
Constructed | [خطأ: الوظيفة "wdurl" غير موجودة. inception (P571)] | Date of start of construction. | 1897 | |yearbuilt=
|
Designed by | [خطأ: الوظيفة "wdurl" غير موجودة. designed by (P287)] | Designer of the lighthouse. | [خطأ: الوظيفة "wdurl" غير موجودة. (Q27835212)] | |suppressfields=designer
|
Built by | [خطأ: الوظيفة "wdurl" غير موجودة. main building contractor (P193)], [خطأ: الوظيفة "wdurl" غير موجودة. structural engineer (P631)] | Engineer or builder of the lighthouse. | [خطأ: الوظيفة "wdurl" غير موجودة. Dillnhütten (Q1355182)] | |suppressfields=builder
|
Foundation | n/a | The material of the foundation. | concrete | |foundation=
|
Construction | [خطأ: الوظيفة "wdurl" غير موجودة. made from material (P186)] qualified with [خطأ: الوظيفة "wdurl" غير موجودة. applies to part (P518)] | The material of the structure. | [خطأ: الوظيفة "wdurl" غير موجودة. مارتينا هنگيس (Q41177)] | |construction=
|
Tower shape | [خطأ: الوظيفة "wdurl" غير موجودة. shape (P1419)] qualified with [خطأ: الوظيفة "wdurl" غير موجودة. applies to part (P518)] | The shape of the structure. | [خطأ: الوظيفة "wdurl" غير موجودة. (Q9090332)] | |shape=
|
Markings | [خطأ: الوظيفة "wdurl" غير موجودة. color (P462)] qualified by [خطأ: الوظيفة "wdurl" غير موجودة. applies to part (P518)] [خطأ: الوظيفة "wdurl" غير موجودة. has pattern (P5422)] qualified with [خطأ: الوظيفة "wdurl" غير موجودة. quantity (P1114)], [خطأ: الوظيفة "wdurl" غير موجودة. color (P462)], [خطأ: الوظيفة "wdurl" غير موجودة. orientation (P7469)], [خطأ: الوظيفة "wdurl" غير موجودة. applies to part (P518)] |
Color or other distinctive marks. | horizontal red stripe | |marking=
|
Tower height | [خطأ: الوظيفة "wdurl" غير موجودة. height (P2048)] | The total height of the structure above ground. | 10 metres | |height=
|
Power source | [خطأ: الوظيفة "wdurl" غير موجودة. source of energy (P618)] | Source of power for the lighthouse | [خطأ: الوظيفة "wdurl" غير موجودة. tropical medicine and hygiene (Q1483757)] | |suppressfields=powersource
|
Fog signal | n/a | The type and frequency of any fog signal, e.g. bell, horn, etc., as given in the light list. | HORN: 1 blast ev 15s (2s bl) | |fogsignal=
|
Racon | [خطأ: الوظيفة "wdurl" غير موجودة. racon signal (P3994)] | The letter transmitted in morse code by the Racon, if it has one. | N | |racon=
|
CCG no. | [خطأ: الوظيفة "wdurl" غير موجودة. Canadian Coastguard Lighthouse ID (P3920)] | The number in the Canadian Light List. There are four volumes, available for download. | 430 | |canada=
|
NGA no. | [خطأ: الوظيفة "wdurl" غير موجودة. NGA lighthouse ID (P3563)] | The number in the List of Lights (download) maintained by the U.S. National Geospatial-Intelligence Agency. (Note: only shows lights outside of the USA plus eastern Florida). | 111-5852 | |NGA=
|
ARLHS no. | [خطأ: الوظيفة "wdurl" غير موجودة. ARLHS lighthouse ID (P2980)] | The number in the Amateur Radio Lighthouse Society list, available on their directory website. | USA-034 | |ARLHS=
|
USCG no. | [خطأ: الوظيفة "wdurl" غير موجودة. USCG lighthouse ID (P3723)] | The number shown in the Light List published by the US Coast Guard (for lighthouses in the USA). The lists are available for download in 7 volumes, each covering a different region. Both the volume number and lighthouse number should be captured here. | ‘V-NNNN’ | |USCG=
|
Operator | [خطأ: الوظيفة "wdurl" غير موجودة. operator (P137)] qualified with [خطأ: الوظيفة "wdurl" غير موجودة. start time (P580)] and [خطأ: الوظيفة "wdurl" غير موجودة. end time (P582)] | The authority responsible for operating the light. | Trinity House | |managingagent=
|
Heritage | [خطأ: الوظيفة "wdurl" غير موجودة. heritage designation (P1435)] | A description of the lighthouse's heritage status. | NRHP listed place | |heritage=
|
Parameters for the light
Label | Wikidata properties | Usage | Example(s) | Override parameter |
---|---|---|---|---|
First lit | [خطأ: الوظيفة "wdurl" غير موجودة. service entry (P729)] | Date that the light entered service. | 27 June 1904 | |yearlit=
|
Deactivated | [خطأ: الوظيفة "wdurl" غير موجودة. service retirement (P730)] | If the light is no longer in service, the date it was decommissioned. | June 1980 | |yeardeactivated=
|
Automated | [خطأ: الوظيفة "wdurl" غير موجودة. significant event (P793)] -> [خطأ: الوظيفة "wdurl" غير موجودة. (Q24410992)] -> [خطأ: الوظيفة "wdurl" غير موجودة. point in time (P585)] | The date the light was converted to automatic. | 4 December 1998 | |automated=
|
Focal height | [خطأ: الوظيفة "wdurl" غير موجودة. focal height (P2923)] qualified with [خطأ: الوظيفة "wdurl" غير موجودة. color (P462)] | The height of the light above mean sea level. When a navigator's light list simply shows a value for 'height', that should be entered here. | 14 metres | |focalheight=
|
Lens | [خطأ: الوظيفة "wdurl" غير موجودة. type of lens (P9597)] qualified with [خطأ: الوظيفة "wdurl" غير موجودة. start time (P580)] and [خطأ: الوظيفة "wdurl" غير موجودة. end time (P582)] | The type of lens used in the light. | [خطأ: الوظيفة "wdurl" غير موجودة. (Q24629169)], [خطأ: الوظيفة "wdurl" غير موجودة. (Q7907476)] | |lens=
|
Light source | n/a | Source of illumination of the light. | CDM T lamp, High intensity LED lamp | |lightsource=
|
Intensity | [خطأ: الوظيفة "wdurl" غير موجودة. luminous intensity (P3041)] qualified with [خطأ: الوظيفة "wdurl" غير موجودة. color (P462)] | Luminous intensity of the light, measured in candela. | 14,400 candela | |intensity=
|
Range | [خطأ: الوظيفة "wdurl" غير موجودة. lighthouse range (P2929)] qualified with [خطأ: الوظيفة "wdurl" غير موجودة. color (P462)] | The distance from which the light can be seen, usually given in nautical miles. If the light has more than one color, then several ranges can specified, one for each color. | 8 nautical miles (15 km; 9.2 mi) | |range=
|
Characteristic | [خطأ: الوظيفة "wdurl" غير موجودة. light characteristic (P1030)] qualified with [خطأ: الوظيفة "wdurl" غير موجودة. statement is subject of (P805)], [خطأ: الوظيفة "wdurl" غير موجودة. start time (P580)] and [خطأ: الوظيفة "wdurl" غير موجودة. end time (P582)] | The pattern of flashes in shorthand notation. See Light characteristic for examples and explanation. | Fl(2) W 10s | |characteristic=
|
Admiralty number | [خطأ: الوظيفة "wdurl" غير موجودة. Admiralty number (P3562)] | The ID number of the light in the United Kingdom Hydrographic Office's Admiralty List of Lights. | J0750.1 | |admiralty=
|
Bespoke numbering systems
If a country has its own numbering system (such as the Netherlands), the country name, ID number and a link (optional) may be specified.
|country=
|countrynumber=
|countrylink=
Fetch wikidata
To fetch specific fields from Wikidata (and no others) the |fetchwikidata=
can be used. For example, to fetch the date of construction and the date of deactivation, use:
|fetchwikidata=constructed,yeardeactivated
If this parameter is not specified then all available fields will be fetched.
To suppress certain fields (but fetch others), the |suppressfields=
can be used. For example, to suppress the range of the lighthouse and its intensity, use:
|suppressfields=range,intensity
If this parameter is not specified then no fields will be suppressed.
By default, the template will use the Wikidata item associated with the article. In some cases (for example, if the article is about an island but contains some information about a lighthouse on that island) you will need to specify the Wikidata Q-identifier using |qid=
. For example:
|qid=Q28333621
Embedding other templates
The |module=
parameter can be used for embedding other templates into this infobox (see Wikipedia:Infobox modules):
{{Infobox lighthouse | name = ... | module = {{Infobox example | embed = yes <!-- or 'child=yes' or 'subbox=yes' --> ... }} }}
Full list
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:
|yeardeactivated=1952–1980
- provide explanation:
|yearlit=1880 (current tower)
- give more than one answer:
|fogsignal=Bell (1880)<br />Horn 1 every 20s (1915)
{{Infobox lighthouse | name = | image_name = | image_width = | caption = | location = | coordinates = <!-- {{Coord}} --> | yearbuilt = <!-- {{Start date|YYYY}} --> | yearlit = | automated = | yeardeactivated = | foundation = | construction = | shape = | marking = | height = | focalheight = | lens = | lightsource = | intensity = | range = | characteristic = | fogsignal = | racon = | admiralty = | canada = | NGA = | ARLHS = | USCG = | country = | countrynumber = | countrylink = | managingagent = | heritage = | module = }}
Coordinates
For coordinates, use |coordinates=
with {{Coord}}. See the Coord template's documentation for details on usage. For example, |coordinates={{coord|1|2|N|3|4|E|type:landmark|display=inline,title}}
Maps
A Mapframe map is automatically included if:
- There are coordinates specified on the page's Wikidata item
- It has not be turned off by setting
|mapframe=no
The following optional parameters can then be used to adjust the map
|mapframe-zoom=
zoom level (default is 10)|mapframe-width=
and|mapframe-height=
for the map size (defaults are 270 and 200)|mapframe-marker=
for the marker icon (default is no marker icon)- either
|mapframe-marker-color=
or|mapframe-marker-colour=
for the marker colour (hex triplet, default is#5E74F3
) |mapframe-caption=
caption below the map|mapframe-lat=
and|mapframe-long=
(or|mapframe-latitude=
and|mapframe-longitude=
) – alternate initial latitude and longitude for the map, instead of the lighthouse coordinates. Specify as a decimal number.
Microformat
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
hCard uses HTML classes including:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "region"
- "street-address"
- "vcard"
Geo is produced by calling {{coord}}, and uses HTML classes:
- "geo"
- "latitude"
- "longitude"
Please do not rename or remove these classes.
When giving coordinates, please don't be overly precise.
Tracking category
- Category:Pages using infobox lighthouse with unknown parameters (3)
- Category:Pages using infobox Lighthouse needing Wikidata item (9)
- Category:Lighthouses using pushpin parameters (8)
See also
TemplateData
See the monthly error report for this template.
TemplateData for جدول فنار
لا وصف.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
name | name | دون وصف | غير معروف | اختياري |
item | item | دون وصف | غير معروف | اختياري |
suppressfields | suppressfields | دون وصف | غير معروف | اختياري |
Fetch wikidata | fetchwikidata | use and leave blank to turn off Wikidata values | غير معروف | اختياري |
image_name | image_name | دون وصف | غير معروف | اختياري |
image_width | image_width | دون وصف | غير معروف | اختياري |
image size | image size | دون وصف | غير معروف | اختياري |
image_size | image_size | دون وصف | غير معروف | اختياري |
imagesize | imagesize | دون وصف | غير معروف | اختياري |
image_upright | image_upright | دون وصف | غير معروف | اختياري |
alt | alt | دون وصف | غير معروف | اختياري |
image | image | دون وصف | غير معروف | اختياري |
caption | caption | دون وصف | غير معروف | اختياري |
coordinates | coordinates | دون وصف | غير معروف | اختياري |
pushpin | pushpin | دون وصف | غير معروف | اختياري |
map_caption | map_caption | دون وصف | غير معروف | اختياري |
onlysourced | onlysourced | دون وصف | غير معروف | اختياري |
location | location | دون وصف | غير معروف | اختياري |
refs | refs | دون وصف | غير معروف | اختياري |
grid_ref_UK | grid_ref_UK | دون وصف | غير معروف | اختياري |
coordinates_footnotes | coordinates_footnotes | دون وصف | غير معروف | اختياري |
designation | designation | دون وصف | غير معروف | اختياري |
Year built | yearbuilt | usually the year the light first built (construction completed) | غير معروف | اختياري |
Year lit | yearlit | usually the year the present, or last structure was lit | غير معروف | اختياري |
Year automated | automated | the year it was automated | غير معروف | اختياري |
Year deactivated | yeardeactivated | If the light is no longer in service, list the year it was last working | غير معروف | اختياري |
Foundation material | foundation | the material of the foundation | غير معروف | اختياري |
Construction material | construction | the material of the structure | غير معروف | اختياري |
Structure shape | shape | the shape of the structure
| غير معروف | اختياري |
Marking | marking | color or other distinctive marks | غير معروف | اختياري |
Height above foundation | height | the total height of the structure above its foundation | غير معروف | اختياري |
Focal height | focalheight | the height of the actual light source above mean sea level | غير معروف | اختياري |
Lens | lens | the type of lens originally used in the light
| غير معروف | اختياري |
Light source | lightsource | the source of illumination | غير معروف | اختياري |
Intensity | intensity | candlepower | غير معروف | اختياري |
Range | range | the distance at which the light can be seen | غير معروف | اختياري |
characteristic | characteristic | the pattern of flashes, given in the light list | غير معروف | اختياري |
Fog signal | fogsignal | the type and frequency of any fog signal
| غير معروف | اختياري |
racon | racon | the letter shown if there is a Racon | غير معروف | اختياري |
admiralty | admiralty | the number in the United Kingdom Hydrographic Office's Admiralty Digital List of Lights | غير معروف | اختياري |
canada | canada | the number in the Canadian Light List | غير معروف | اختياري |
NGA | NGA | the number in the List of Lights maintained by the U.S. National Geospatial-Intelligence Agency | غير معروف | اختياري |
ARLHS | ARLHS | the number in the Amateur Radio Lighthouse Society list | غير معروف | اختياري |
USCG | USCG | the number as shown in the Light List as published by the US Coast Guard | غير معروف | اختياري |
countrylink | countrylink | a (non mandatory) link to the country's list of lighthouses or the website hosting that list | غير معروف | اختياري |
country | country | if a country has its own numbering system, the country name
| غير معروف | اختياري |
countrynumber | countrynumber | number according to the country's numbering system | غير معروف | اختياري |
Managing agent | managingagent | the authority responsible for operating the light | غير معروف | اختياري |
heritage | heritage | a description of the building's heritage status | غير معروف | اختياري |
module | module | used for embedding other templates into this infobox | غير معروف | اختياري |
mapframe | mapframe | دون وصف | غير معروف | اختياري |
mapframe-zoom | mapframe-zoom | دون وصف | غير معروف | اختياري |
mapframe-width | mapframe-width | دون وصف | غير معروف | اختياري |
mapframe-height | mapframe-height | دون وصف | غير معروف | اختياري |
mapframe-marker | mapframe-marker | دون وصف | غير معروف | اختياري |
mapframe-marker-color | mapframe-marker-color | دون وصف | غير معروف | اختياري |
mapframe-marker-colour | mapframe-marker-colour | دون وصف | غير معروف | اختياري |
mapframe-lat | mapframe-lat | دون وصف | غير معروف | اختياري |
mapframe-latitude | mapframe-latitude | دون وصف | غير معروف | اختياري |
mapframe-long | mapframe-long | دون وصف | غير معروف | اختياري |
mapframe-longitude | mapframe-longitude | دون وصف | غير معروف | اختياري |
mapframe-caption | mapframe-caption | دون وصف | غير معروف | اختياري |
The above documentation is transcluded from قالب:جدول فنار/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |