Template:Infobox hill: Difference between revisions

From Wikishire
Jump to navigation Jump to search
Revert to old version
No edit summary
Line 1: Line 1:
{| 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">'''{{{name}}}'''
|colspan=2 style="text-align: center; background:#00FF00; font-size: 100%"|<big class="fn org">'''{{{name}}}'''
|-
! 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}}}}} }}[[{{#var:shire}}]]{{Hillcat|{{namefix 2|{{{territory}}}}}}}}}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}[[{{namefix|{{{county 1}}}}}]]{{Hillcat|{{namefix 2|{{{county 1}}}}}}}}}{{#if:{{{county 2|}}}|, [[{{namefix|{{{county 2}}}}}]]{{Hillcat|{{namefix 2|{{{county 2}}}}}}}}}{{#if:{{{county 3|}}}|, [[{{namefix|{{{county 3}}}}}]]{{Hillcat|{{namefix 2|{{{county 3}}}}}}}}}{{#if:{{{county 4|}}}|, [[{{namefix|{{{county 4}}}}}]]{{Hillcat|{{namefix 2|{{{county 4}}}}}}}}}
|- class="note"
|- class="note"
{{#vardefine:type|hill}}{{#vardefine:rangename|{{Hillfix|{{{range}}}}}}}{{#if: {{{picture<includeonly>|</includeonly>}}} |
{{#vardefine:type|hill}}{{#vardefine:rangename|{{Hillfix|{{{range}}}}}}}{{#if: {{{picture<includeonly>|</includeonly>}}} |
Line 19: Line 21:
! 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>{{#if:{{{range<includeonly>|</includeonly>}}}|[[Category:{{#var:rangename}}]] }}{{#if:{{{county<includeonly>|</includeonly>}}}|{{Hillcat|{{namefix|{{{county}}} }} }}{{#vardefine:shire|{{namefix|{{{county}}}}}}}{{#vardefine:shire 1|{{namefix|{{{county}}}}}}} }}{{#if:{{{territory<includeonly>|</includeonly>}}}|{{Hillcat|{{namefix|{{{territory}}} }} }}{{#vardefine:shire|{{namefix|{{{territory}}}}}}} }}{{#if:{{{bailiwick<includeonly>|</includeonly>}}}|{{Hillcat|{{namefix|{{{bailiwick}}} }} }}{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}} }}{{#if:{{{county 1<includeonly>|</includeonly>}}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}{{#vardefine:shire 1|{{namefix|{{{county 1}}}}}}}{{Hillcat|{{namefix|{{{county 1}}} }} }} }}{{#if:{{{county 2<includeonly>|</includeonly>}}}|{{#vardefine:shire 2|{{namefix|{{{county 2}}}}}}}{{Hillcat|{{namefix|{{{county 2}}} }} }} }}{{#if:{{{county 3<includeonly>|</includeonly>}}}|{{#vardefine:shire 3|{{namefix|{{{county 3}}}}}}}{{Hillcat|{{namefix|{{{county 3}}} }} }} }}{{#if:{{{county 4<includeonly>|</includeonly>}}}|{{#vardefine:shire 4|{{namefix|{{{county 4}}}}}}}{{Hillcat|{{namefix|{{{county 4}}} }} }} }}{{#if:{{{island<includeonly>|</includeonly>}}}|[[Category:{{{island}}}]]}}{{#if:{{{SMC|}}}|{{SMC|{{{SMC}}}}}}}</includeonly><noinclude>{{Infobox hill/doc}}[[Category:Infoboxes|Hill]]</noinclude>
|}<includeonly>{{#if:{{{range<includeonly>|</includeonly>}}}|[[Category:{{#var:rangename}}]] }}{{#if:{{{island<includeonly>|</includeonly>}}}|[[Category:{{{island}}}]]}}{{#if:{{{SMC|}}}|{{SMC|{{{SMC}}}}}}}</includeonly><noinclude>{{Infobox hill/doc}}[[Category:Infoboxes|Hill]]</noinclude>

Revision as of 19:08, 7 June 2014

{{{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]]

}}}|[[Category:{{{range}}}]] }}[[Category:{{{island}}}]]</includeonly>Template:Infobox hill/doc