Veidne:Infobox lighthouse/doc
Šī ir veidnes Veidne:Infobox lighthouse dokumentācijas apakšlapa. Tā satur lietošanas piemērus, kategorijas un citu saistīto informāciju, kas nav pamatlapas daļa. |
Šajā veidnē tiek izmantots skripts, kas uzrakstīts programmēšanas valodā Lua. Skatīt lapu Vikipēdija:Lua, lai uzzinātu vairāk. |
{{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
[labot pirmkodu]Label | Wikidata properties | Usage | Example(s) | Override parameter |
---|---|---|---|---|
Image | attēls (P18) qualified by attēla apraksts (P2096) | An image of the lighthouse stored on Wikimedia Commons. A caption can be included with attēla apraksts (P2096). | Cuxhaven 07-2016 photo23 Kugelbake.jpg | |image_name= , |caption=
|
Location | ģeogrāfiskās koordinātas (P625), ietilpst ģeogrāfiskajā objektā (P706), atrašanās vieta (P276), atrodas administratīvajā vienībā (P131), valsts (P17) | Location of the lighthouse. | Sistēmai nav zināms ID "PQ126514". Lūdzu, norādi derīgu vienuma ID. | |location=
|
OS grid | OS režģa reference (P613) | Ordnance Survey National Grid coordinates. | NZ40806416 | |grid_ref_UK=
|
Coordinates | ģeogrāfiskās koordinātas (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 | izveides datums (P571) | Date of start of construction. | 1897 | |yearbuilt=
|
Designed by | projektētājs (P287) | Designer of the lighthouse. | Sistēmai nav zināms ID "PQ27835212". Lūdzu, norādi derīgu vienuma ID. | |suppressfields=designer
|
Built by | galvenā būvniecības organizācija (P193), strukturālais inženieris (P631) | Engineer or builder of the lighthouse. | Sistēmai nav zināms ID "PQ1355182". Lūdzu, norādi derīgu vienuma ID. | |suppressfields=builder
|
Foundation | n/a | The material of the foundation. | concrete | |foundation=
|
Construction | materiāls (P186) qualified with attiecas uz daļu (P518) | The material of the structure. | Sistēmai nav zināms ID "PQ41177". Lūdzu, norādi derīgu vienuma ID. | |construction=
|
Tower shape | forma (P1419) qualified with attiecas uz daļu (P518) | The shape of the structure. | Sistēmai nav zināms ID "PQ9090332". Lūdzu, norādi derīgu vienuma ID. | |shape=
|
Markings | krāsa (P462) qualified by attiecas uz daļu (P518) ir raksts (P5422) qualified with skaits (P1114), krāsa (P462), orientācija (P7469), attiecas uz daļu (P518) |
Color or other distinctive marks. | horizontal red stripe | |marking=
|
Tower height | augstums (P2048) | The total height of the structure above ground. | 10 metres | |height=
|
Power source | enerģijas avots (P618) | Source of power for the lighthouse | Sistēmai nav zināms ID "PQ1483757". Lūdzu, norādi derīgu vienuma ID. | |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 | racon signal (P3994) | The letter transmitted in morse code by the Racon, if it has one. | N | |racon=
|
CCG no. | Kanādas krasta apsardzes bāku ID (P3920) | The number in the Canadian Light List. There are four volumes, available for download. | 430 | |canada=
|
NGA no. | NGA bākas 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. | ARLHS bākas ID (P2980) | The number in the Amateur Radio Lighthouse Society list, available on their directory website. | USA-034 | |ARLHS=
|
USCG no. | USCG bākas 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 | operators (P137) qualified with datums no (P580) and datums līdz (P582) | The authority responsible for operating the light. | Trinity House | |managingagent=
|
Heritage | mantojuma statuss (P1435) | A description of the lighthouse's heritage status. | NRHP listed place | |heritage=
|
Parameters for the light
[labot pirmkodu]Label | Wikidata properties | Usage | Example(s) | Override parameter |
---|---|---|---|---|
First lit | ekspluatācijā nodošanas datums (P729) | Date that the light entered service. | 27 June 1904 | |yearlit=
|
Deactivated | norakstīts (P730) | If the light is no longer in service, the date it was decommissioned. | June 1980 | |yeardeactivated=
|
Automated | nozīmīgs notikums (P793) -> Sistēmai nav zināms ID "PQ24410992". Lūdzu, norādi derīgu vienuma ID. -> laika brīdis (P585) | The date the light was converted to automatic. | 4 December 1998 | |automated=
|
Focal height | gaismas augstums (P2923) qualified with krāsa (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 | objektīva tips (P9597) qualified with datums no (P580) and datums līdz (P582) | The type of lens used in the light. | Sistēmai nav zināms ID "PQ24629169". Lūdzu, norādi derīgu vienuma ID., Sistēmai nav zināms ID "PQ7907476". Lūdzu, norādi derīgu vienuma ID. | |lens=
|
Light source | n/a | Source of illumination of the light. | CDM T lamp, High intensity LED lamp | |lightsource=
|
Intensity | gaismas intensitāte (P3041) qualified with krāsa (P462) | Luminous intensity of the light, measured in candela. | 14,400 candela | |intensity=
|
Range | bākas redzamība (P2929) qualified with krāsa (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 jūras jūdzes (15 km; 9.2 mi) | |range=
|
Characteristic | bākas gaismas raksturojums (P1030) qualified with apgalvojums ir subjekts no (P805), datums no (P580) and datums līdz (P582) | The pattern of flashes in shorthand notation. See Light characteristic for examples and explanation. | Fl(2) W 10s | |characteristic=
|
Admiralty number | Apvienotās Karalistes bākas kods (P3562) | The ID number of the light in the United Kingdom Hydrographic Office's Admiralty List of Lights. | J0750.1 | |admiralty=
|
Bespoke numbering systems
[labot pirmkodu]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
[labot pirmkodu]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
[labot pirmkodu]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
[labot pirmkodu]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
[labot pirmkodu]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
[labot pirmkodu]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
[labot pirmkodu]Tracking category
[labot pirmkodu]See also
[labot pirmkodu]Veidne:Buildings and structures infobox templates
TemplateData
[labot pirmkodu]