Template:Infobox hill: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
No edit summary
 
(51 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if:{{{picture}}}|[[File:{{{picture}}}|right|thumb|300px|{{{picture caption}}}]]}}
{| 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 class= style="text-align: center; background:#00FF00; font-size: 100%"|<big class="fn org">{{#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: {{{norse| }}}| <br>{{lang|non|{{{norse}}} }} }}<br>
|colspan=2 style="text-align: center; background:#00FF00; font-size: 100%"|<big class="fn org">'''{{{name}}}'''
{{#if:{{{county<includeonly>|</includeonly>}}}|[[{{namefix|{{{county}}} }}]] }}{{#if:{{{county 1<includeonly>|</includeonly>}}}|[[{{namefix|{{{county 1}}} }}]] }}{{#if:{{{county 2<includeonly>|</includeonly>}}}|[[,&nbsp;{{namefix|{{{county 2}}} }}]] }}{{#if:{{{county 3<includeonly>|</includeonly>}}}|[[,&nbsp;{{namefix|{{{county 3}}} }}]] }}{{#if:{{{county 4<includeonly>|</includeonly>}}}|[[,&nbsp;{{namefix|{{{county 4}}} }}]] }}
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}} }}[[{{#var:shire}}]]{{Hillcat|{{namefix 2|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}} }}[[{{#var:shire}}]]{{Hillcat|{{namefix 2|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}} }}{{shead|{{#var:shire}}}}{{Hillcat|{{namefix 2|{{{territory}}}}}}}}}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}[[{{#var:shire}}]]{{Hillcat|{{namefix 2|{{{county 1}}}}}}}}}{{#if:{{{county 2|}}}|{{#vardefine:shire 2|{{namefix|{{{county 2}}}}}}}, [[{{#var:shire 2}}]]{{Hillcat|{{#var:shire 2}}}}}}{{#if:{{{county 3|}}}|{{#vardefine:shire 3|{{namefix|{{{county 3}}}}}}}, [[{{#var:shire 3}}]]{{Hillcat|{{#var:shire 3}}}}}}{{#if:{{{county 4|}}}|{{#vardefine:shire 4|{{namefix|{{{county 4}}}}}}}, [[{{#var:shire 4}}]]{{Hillcat|{{#var:shire 4}}}}}}{{#vardefine:shire 1|{{#var:shire}}}}
|- class="note"
|- class="note"
{{#if: {{{county<includeonly>|</includeonly>}}} |
{{#vardefine:type|hill}}{{#vardefine:rangename|{{Hillfix|{{{range}}}}}}}{{#if: {{{picture<includeonly>|</includeonly>}}} |
! colspan=2 style="background: white; text-align: right; font-size: 85%;" {{!}}
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{{picture}}}|300px]]{{#if: {{{picture caption<includeonly>|</includeonly>}}}|<br />{{{picture caption<includeonly>|</includeonly>}}} }} }}
{{{county}}} }}
|-
|- class="note"
{{#if: {{{range<includeonly>|</includeonly>}}} |
{{#if: {{{county 1<includeonly>|</includeonly>}}} |
! style="background: white; text-align: left;" {{!}} Range:
! colspan=2 style="background: white; text-align: right; font-size: 85%;" {{!}}  
{{!}} {{#var:rangename}} }} || ||
{{{county 1}}} }}{{#if:{{{county 2<includeonly>|</includeonly>}}}|[[,&nbsp;{{namefix|{{{county 2}}} }}]] }}{{#if:{{{county 3<includeonly>|</includeonly>}}}|[[,&nbsp;{{namefix|{{{county 3}}} }}]] }}{{#if:{{{county 4<includeonly>|</includeonly>}}}|[[,&nbsp;{{namefix|{{{county 4}}} }}]] }}
|-
|-
! colspan=2 style="background: white; text-align: left; font-size: 100%;" {{!}}
{{#if: {{{island<includeonly>|</includeonly>}}} |
{{#if:{{{range|}}} {{!}} ''{{{range}}}'' }}
! style="background: white; text-align: left;" {{!}}
{{!}} {{ifif|{{IsleID|{{{island}}}|{{#var:shire}}}}}} }} || ||
|-
|-
{{#if: {{{height<includeonly>|</includeonly>}}} |
! style="background: white; text-align: left;" {{!}} {{#if: {{{height<includeonly>|</includeonly>}}} | Summit:
! style="background: white; text-align: left;" {{!}} Summit:
{{!}} {{{height}}} }} {{#if: {{{os grid ref<includeonly>|</includeonly>}}} | {{map|{{{os grid ref}}}}} <br />}} {{#if: {{{latitude<includeonly>|</includeonly>}}} | {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=13}} }} {{#if: {{{coord<includeonly>|</includeonly>}}} | {{{coord}}} }}
{{!}} {{{height}}} }}
|-
|-
{{#if: {{{map<includeonly>|</includeonly>}}} |
{{#if: {{{map<includeonly>|</includeonly>}}} |
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}}
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}}
[[File:{{{map}}}|220px]]}}
[[File:{{{map}}}|220px]]}}
|-
|}<includeonly>{{mountsort}}{{#if:{{{range|}}}|[[Category:{{#var:rangename}}]]|{{#if:{{{island|}}}|[[Category:{{#switch:{{{island}}}
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
|Adelaide Island
! style="background: white; text-align: left;" {{!}} Grid reference:
|Alexander Island
{{!}} {{getmap|{{{os grid ref}}}|{{{os grid ref}}} }} }}
|Anvers Island
|-
|Brabant Island
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
|East Falkland
! style="background: white; text-align: left;" {{!}} Location:
|West Falkland=Mountains and hills of {{{island}}}
{{!}} {{{latitude}}} N, {{{longitude}}} E }}
|Joinville Island
|-
|King George Island
{{#if: {{{coord<includeonly>|</includeonly>}}} |
|Livingston Island=Hills of {{{island}}}
! style="background: white; text-align: left;" {{!}} Co-ordinates:
|Skye
{{!}} {{{coord}}} }}
|Isle of Skye=Mountains and hills of Skye
|- class="note"
|{{IsleID cat|{{{island}}}|{{#var:shire}}}}}}]]}}}}{{#if:{{{SMC|}}}|{{#vardefine:smcno|{{{SMC}}}}}}}{{#if:{{{picture|}}}||[[Category:Natural feature articles with no infobox picture]]}}{{#if:{{{latitude|}}}||[[Category:Natural feature articles with no coords]]}}</includeonly><noinclude>{{Infobox hill/doc}}[[Category:Infoboxes|Hill]]</noinclude>
{{#if: {{{picture 2<includeonly>|</includeonly>}}} |
! colspan=2 style="background: white; text-align: right; font-size: 85%;" {{!}} [[File:{{{picture}}}|200px]]{{#if: {{{picture 2 caption<includeonly>|</includeonly>}}}|<br />{{{picture 2 caption<includeonly>|</includeonly>}}}}}}}
|}<includeonly>
{{#if:{{{range}}}|[[Category:{{{range}}}]] }}
{{#if:{{{county<includeonly>|</includeonly>}}}|{{Cat hill|{{{county}}} }} {{#if:{{{county 1<includeonly>|</includeonly>}}}|{{Cat hill|{{{county 1}}} }} {{#if:{{{county 2<includeonly>|</includeonly>}}}|{{Cat hill|{{{county 2}}} }} {{#if:{{{county 3<includeonly>|</includeonly>}}}|{{Cat hill|{{{county 3}}} }} {{#if:{{{county 4<includeonly>|</includeonly>}}}|{{Cat hill|{{{county 4}}} }}</includeonly><noinclude>{{Infobox hill/doc}}</noinclude>

Latest revision as of 13:53, 22 November 2022

{{{name}}}
[[File:{{{picture}}}|300px]]
{{{picture caption}}}
Range: {{{range}}}
[[{{{island}}}]]
Summit: {{{height}}} Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}}
{{{latitude}}} {{{longitude}}} {{{coord}}}

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

Template:Infobox hill/doc