Difference between revisions of "Template:Infobox Site of Special Scientific Interest"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Jonesey95 (Convert coords to new parameters. See Wikipedia:Coordinates in infoboxes.) |
imported>Jonesey95 (Convert coords to new parameters. See Wikipedia:Coordinates in infoboxes.) |
||
| Line 8: | Line 8: | ||
| caption1 = {{{image_caption|{{{caption|}}}}}} | | caption1 = {{{image_caption|{{{caption|}}}}}} | ||
| − | | image2 = {{#if: | + | | image2 = {{#if:{{{coordinates|}}}| |
{{ location map | {{ location map | ||
| {{if empty|{{{displaymap|}}}|{{{aos|}}}|United Kingdom}} | | {{if empty|{{{displaymap|}}}|{{{aos|}}}|United Kingdom}} | ||
| − | |||
| − | |||
| coordinates = {{{coordinates|}}} | | coordinates = {{{coordinates|}}} | ||
| width = {{{map_size|220}}} | | width = {{{map_size|220}}} | ||
| Line 27: | Line 25: | ||
| data2 = {{{gridref|}}} | | data2 = {{{gridref|}}} | ||
| label3 = [[Geographic coordinate system|Coordinates]] | | label3 = [[Geographic coordinate system|Coordinates]] | ||
| − | | data3 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|region:GB|type:landmark | + | | data3 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|region:GB|type:landmark}} }} |
| label4 = Interest | | label4 = Interest | ||
| class4 = category | | class4 = category | ||
| Line 42: | Line 40: | ||
{{{footnotes|}}} | {{{footnotes|}}} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox Site of Special Scientific Interest with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Site of Special Scientific Interest]] with unknown parameter "_VALUE_"|ignoreblank=y| aos | area | caption | coordinates | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox Site of Special Scientific Interest with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Site of Special Scientific Interest]] with unknown parameter "_VALUE_"|ignoreblank=y| aos | area | caption | coordinates | displaymap | enref | footnotes | gridref | image | image_alt | image_caption | image_size | interest | map | map_caption | map_size | name | notifydate }}<noinclude>{{Documentation}}<!-- place category on the /doc sub-page, not here --></noinclude> |
Revision as of 05:38, 5 June 2017
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Usage
| Parameter | Optional? | Description/Notes |
|---|---|---|
name |
required | Official name of SSSI |
aos |
required | Area of Search (Do not wikilink) |
displaymap |
optional | The name of a {{location map}}. if left blank, the value specified by aos is used.
|
map_caption |
optional | Alternative caption for map if default not suitable |
coordinates |
optional | For latitude and longitude coordinates. Use {{coord}}. |
image |
optional | use file name without File: prefix or square brackets. See Caveat below.
|
image_caption |
optional | Description of picture (if required) |
image_size |
optional | width of picture |
gridref |
optional | Use {{gbmappingsmall}} |
interest |
optional | Either Biological or Geological or Biological/Geological |
area |
optional | Use {{convert}}. For choice of units, see WP:UNITS |
notifydate |
optional | This is the date of first notification; use the 1949 Act date if available. Do not use {{Start date}} for sites that existed prior to the notification. |
enref |
optional | Natural England reference 7-digit ID used on Natural England website; provides link to website. |
footnotes |
optional | Additional footnotes or references |
map |
optional | Full link to Natural England site |
CAVEAT: If planning to obtain a photograph, be aware that an SSSI is a legally protected site and many sites are on private land. It is a criminal offence to damage or disturb any flora, fauna or geological feature in the area without a licence to do so.
Blank
Template for a location map
{{Infobox SSSI
|name=
|image=
|image_caption=
|image_size=
|aos=
|interest=
|gridref={{gbmappingsmall|OSGRIDREF}}
|coordinates={{coord|LAT|N|LON|W|region:GB_scale:25000|display=inline,title}} (change "W" to "E" if appropriate)
|displaymap=
|area={{convert|NNNN|ha|km2 sqmi|sigfig=4}}
|notifydate=
|enref=
}}
Example
| Site of Special Scientific Interest | |
![]() | |
| Lua error in Module:Location_map at line 501: "<strong class=\"error\"><span class=\"scribunto-error\" id=\"mw-scribunto-error-1\">Script error: No such module "If empty".</span></strong>" is not a valid name for a location map definition. | |
| Area of Search | Somerset |
|---|---|
| Grid reference | ST525485 |
| Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
| Interest | Biological |
| Area | 156.8 acres (0.6345 km2; 0.2450 sq mi) |
| Notification | 1952 |
| Natural England website | |
{{Infobox SSSI
|image=EbborGorge.jpg
|name=Ebbor Gorge
|image_size=220
|aos=Somerset
|interest=Biological
|gridref={{gbmappingsmall|ST525485}}
|coordinates={{coord|51.234|-2.682|region:GB_scale:25000|display=inline}}
|area={{convert|156.8|acre|km2 sqmi|sigfig=4}}
|notifydate=1952
|enref=1004346
}}
Microformat
Tracking category
See also
- {{Sssi link}}
| The above documentation is transcluded from Template:Infobox Site of Special Scientific Interest/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
