Template:Infobox hill: Difference between revisions

From Wikishire
Jump to navigation Jump to search
mNo edit summary
Revert to old version
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;"{{#if:{{{county|}}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}{{#vardefine:shire 1|{{#var:shire}}}}}}{{#if:{{{territory|}}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}} }}{{#if:{{{bailiwick|}}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}} }}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}}}}{{#vardefine:shire 1|{{namefix|{{{county 1}}}}}}}{{#if:{{{county 2|}}}|{{#vardefine:shire 2|{{namefix|{{{county 2}}}}}}}}}{{#if:{{{county 3|}}}|{{#vardefine:shire 3|{{namefix|{{{county 3}}}}}}}}}{{#if:{{{county 4|}}}|{{#vardefine:shire 4|{{namefix|{{{county 4}}}}}}}}}
{| 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}}}'''
|- class="note"
|colspan="2"|<center>'''{{#var:shire}}{{#ifeq:{{#varexists|shire 2}}|1|, {{#var:shire 2}}}}{{#ifeq:{{varexists|shire 3}}|1|, {{#var:shire 3}}}}{{#ifeq:{{#varexists|shire 4}}|1|, {{#var:shire 4}}}}'''</center>
|- 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 21: Line 19:
! 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}}]] }}{{Hillcat|{{#var:shire}}}}{{#ifeq:{{#varexists|shire 2}}|1|{{Hillcat|{{#var:shire 2}}}}}}{{#ifeq:{{#varexists|shire 3}}|1|{{Hillcat|{{#var:shire 3}}}}}}{{#ifeq:{{#varexists|shire 4}}|1|{{Hillcat|{{#var:shire 4}}}}}}{{#if:{{{island|}}}|[[Category:{{{island}}}]]}}{{#if:{{{SMC|}}}|{{SMC|{{{SMC}}}}}}}</includeonly><noinclude>{{Infobox hill/doc}}[[Category:Infoboxes|Hill]]</noinclude>
|}<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>

Revision as of 14:57, 22 May 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:Hills of {{{county}}}]][[Category:Hills of {{{territory}}}]][[Category:Hills of {{{bailiwick}}}]][[Category:Hills of {{{county 1}}}]][[Category:Hills of {{{county 2}}}]][[Category:Hills of {{{county 3}}}]][[Category:Hills of {{{county 4}}}]][[Category:{{{island}}}]]</includeonly>Template:Infobox hill/doc