Difference between revisions of "Template:Infobox cave"

From Wikishire
Jump to: navigation, search
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
+
{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
 
|colspan=2 style="text-align: center; background:#00FF00; font-size: 100%"|<big class="fn org">{{#vardefine:type|cave}}{{#if:{{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{jerriais| }}}| <br>''Jèrriais:'' {{{jerriais}}} }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}
 
|colspan=2 style="text-align: center; background:#00FF00; font-size: 100%"|<big class="fn org">{{#vardefine:type|cave}}{{#if:{{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{jerriais| }}}| <br>''Jèrriais:'' {{{jerriais}}} }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}
 
|-
 
|-
Line 21: Line 21:
 
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
 
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}}  
 
! style="background: #D0F0C0;" {{!}}  
{{!}} {{getmapecho|{{{os grid ref}}}}} }}
+
{{!}} {{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}} }} }}
 
|-
 
|-
 
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
 
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Co-ordinates:
 
! style="background: #D0F0C0;" {{!}} Co-ordinates:
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}}} }}
+
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14|name={{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}}}}}} }}
 
|-
 
|-
 
{{#if: {{{depth<includeonly>|</includeonly>}}} |
 
{{#if: {{{depth<includeonly>|</includeonly>}}} |
Line 58: Line 58:
 
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}}
 
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}}
 
[[File:{{{map}}}|center|220px]]}}
 
[[File:{{{map}}}|center|220px]]}}
|}{{#if:{{{island|}}}|[[Category:{{{island}}}]]}}</includeonly><noinclude>{{Infobox cave/doc}}[[Category:Infoboxes|Cave]]
+
|}<includeonly>{{#if:{{{island|}}}|[[Category:{{{island}}}]]}}{{#if:{{{picture|}}}||[[Category:Natural feature articles with no infobox picture]]}}</includeonly><noinclude>{{Infobox cave/doc}}[[Category:Infoboxes|Cave]]

Latest revision as of 08:21, 13 August 2020

Infobox cave
[[File:{{{picture}}}|300px]]
{{{picture caption}}}
{{{island}}}
Location: {{{location}}}
River: {{{river}}}
Co-ordinates: {{{latitude}}} {{{longitude}}}
Depth: {{{depth}}}
Length: {{{length}}}
Discovery: {{{discovery}}}
Access: {{{access}}}
Hazards: {{{hazards}}}
Geology: {{{geology}}}
Website: {{{website}}}

[[File:{{{map}}}|center|220px]]

Template:Infobox cave/doc