Template:Infobox hill: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Still trying...
RB (talk | contribs)
Removed picture element - not working
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}}} }} }}
|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}}} }} }}
Line 38: Line 35:
{{#if: {{{picture 2<includeonly>|</includeonly>}}} |
{{#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>}}}}}}}
! 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>
|}<includeonly>
{{#if:{{{range}}}|[[Category:{{{range}}}]] }}
{{#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>
{{#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>

Revision as of 22:59, 6 February 2011

Infobox hill

{{{county}}}

[[{{{county 1}}}]] , [[{{{county 2}}}]], [[{{{county 3}}}]], [[{{{county 4}}}]]

Summit: {{{height}}}

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

Grid reference: Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}}
Location: {{{latitude}}} N, {{{longitude}}} E
Co-ordinates: {{{coord}}}
[[File:{{{picture}}}|200px]]
{{{picture 2 caption}}}

}}}|[[Category:Hills of {{{county}}}]] {{#if:{{{county 1}}}|[[Category:Hills of {{{county 1}}}]] {{#if:{{{county 2}}}|[[Category:Hills of {{{county 2}}}]] {{#if:{{{county 3}}}|[[Category:Hills of {{{county 3}}}]] {{#if:{{{county 4}}}|[[Category:Hills of {{{county 4}}}]]</includeonly>Template:Infobox hill/doc