Difference between revisions of "Template:Infobox cave"

From Wikishire
Jump to: navigation, search
(Undo revision 55705 by RB (talk))
Line 2: Line 2:
 
|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}}} }} }}
 
|-
 
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}} }}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}} }}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}} }}}}{{shead|{{#var:shire}}}}[[Category:Caves of {{namefix 2|{{#var:shire}}}}]]{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}[[{{namefix|{{{county 1}}}}}]][[Category:Caves of {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|, [[{{namefix|{{{county 2}}}}}]][[Category:Caves of {{namefix 2|{{{county 2}}}}}]]}}{{#if:{{{county 3|}}}|, [[{{namefix|{{{county 3}}}}}]][[Category:Caves of {{namefix 2|{{{county 3}}}}}]]}}{{#if:{{{county 4|}}}|, [[{{namefix|{{{county 4}}}}}]][[Category:Caves of {{namefix 2|{{{county 4}}}}}]]}}
+
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}} }}[[{{#var:shire}}]][[Category:Caves of {{namefix 2|{{{county}}}}}]]}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}} }}[[{{#var:shire}}]][[Category:Caves of {{namefix 2|{{{bailiwick}}}}}]]}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}} }}[[{{#var:shire}}]][[Category:Caves of {{namefix 2|{{{territory}}}}}]]}}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}[[{{namefix|{{{county 1}}}}}]][[Category:Caves of {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|, [[{{namefix|{{{county 2}}}}}]][[Category:Caves of {{namefix 2|{{{county 2}}}}}]]}}{{#if:{{{county 3|}}}|, [[{{namefix|{{{county 3}}}}}]][[Category:Caves of {{namefix 2|{{{county 3}}}}}]]}}{{#if:{{{county 4|}}}|, [[{{namefix|{{{county 4}}}}}]][[Category:Caves of {{namefix 2|{{{county 4}}}}}]]}}
 
|- class="note"
 
|- class="note"
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |

Revision as of 23:46, 28 February 2018

Infobox cave
[[File:{{{picture}}}|300px]]
{{{picture caption}}}
{{{island}}}
Location: {{{location}}}
River: {{{river}}}
Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}}
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