Difference between revisions of "Template:Infobox Site of Special Scientific Interest/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Thryduulf
(English Nature website URL has changed)
imported>WOSlinker
(sync)
 
Line 2: Line 2:
 
| bodyclass      = vcard
 
| bodyclass      = vcard
 
| titleclass    = fn org
 
| titleclass    = fn org
| titlestyle    = font-style: italic
+
| title          = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| title          = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
 
 
| subheader      = <includeonly>[[Site of Special Scientific Interest]]</includeonly>
 
| subheader      = <includeonly>[[Site of Special Scientific Interest]]</includeonly>
 
| subheaderclass = category
 
| subheaderclass = category
| image1        = {{{image|}}}
+
| image1        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{image_alt|}}}}}
| caption1      = {{{image_caption|}}}
+
| caption1      = {{{image_caption|{{{caption|}}}}}}
  
| image2        = {{#if:{{{latitude|}}}|
+
| image2        = {{#if:{{{coordinates|}}}|
 
{{ location map
 
{{ location map
| {{#if:{{{displaymap|}}}|{{{displaymap}}}|{{{aos}}} }}
+
| {{if empty|{{{displaymap|}}}|{{{aos|}}}|United Kingdom}}
| lat    = {{{latitude}}}
+
| coordinates  = {{{coordinates|}}}
| long    = {{{longitude}}}
 
 
| width  = {{{map_size|220}}}
 
| width  = {{{map_size|220}}}
 
| float  = center
 
| float  = center
| border  = none
+
| border  = infobox
| caption = {{{map_caption|Shown within {{#if:{{{displaymap|}}}|{{{displaymap}}}|{{{aos}}} }} }}}
+
| caption = {{{map_caption|Location within {{#invoke:Location map|data|{{if empty|{{{displaymap|}}}|{{{aos|}}}|United Kingdom}}|name}}}}}
| id      = {{{ID|}}}
 
| code    = {{{code|}}}
 
 
}}
 
}}
 
}}
 
}}
Line 26: Line 22:
 
| class1        = region
 
| class1        = region
 
| data1          = {{{aos|}}}
 
| data1          = {{{aos|}}}
 
 
| label2        = [[Grid reference]]
 
| label2        = [[Grid reference]]
 
| data2          = {{{gridref|}}}
 
| data2          = {{{gridref|}}}
 
 
| label3        = [[Geographic coordinate system|Coordinates]]
 
| label3        = [[Geographic coordinate system|Coordinates]]
| data3          = {{{coordinates|{{#if:{{{latitude|}}}|{{coord|{{{latitude|}}}|{{{longitude|}}}|region:GB_type:landmark|display={{{displaycoord|inline, title}}}}}}}}}}
+
| data3          = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|region:GB|type:landmark}} }}
 
 
 
| label4        = Interest
 
| label4        = Interest
 
| class4        = category
 
| class4        = category
 
| data4          = {{{interest|}}}
 
| data4          = {{{interest|}}}
 
 
| label5        = Area
 
| label5        = Area
 
| class5        = note
 
| class5        = note
 
| data5          = {{{area|}}}
 
| data5          = {{{area|}}}
 
 
| label6        = [[SSSI_notification#Notification|Notification]]
 
| label6        = [[SSSI_notification#Notification|Notification]]
 
| data6          = {{{notifydate|}}}
 
| data6          = {{{notifydate|}}}
 
 
| label7        = Location map
 
| label7        = Location map
 
| data7          = {{{map|}}}
 
| data7          = {{{map|}}}
  
| label8        = ID
+
| below          = {{#if:{{{enref|}}}|[https://designatedsites.naturalengland.org.uk/SiteDetail.aspx?SiteCode=S{{{enref}}} Natural England website]}}
| data8          = {{{ID|}}}
+
{{{footnotes|}}}
 
 
| label9        = Code
 
| data9          = {{{code|}}}
 
 
 
| below          = {{#if: {{{enref|}}} | [https://designatedsites.naturalengland.org.uk/SiteDetail.aspx?SiteCode=S{{{enref}}} Natural England website] | {{#if: {{{cyref|}}} | [http://naturalresourceswales.gov.uk/ {{{cyref}}} Natural Resources Wales website] }} }}
 
  
 
}}<noinclude>{{Template sandbox notice}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
 
}}<noinclude>{{Template sandbox notice}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>

Latest revision as of 17:50, 15 June 2017