Template:Infobox hill: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
Still trying...
Line 1: Line 1:
{|
{{#if:{{{picture}}}|[[File:{{{picture}}}|right|thumb|300px|{{{picture caption}}}]]}}
{{#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 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}}} }} }}
{{#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}}} }}]] }}
|- class="note"
|- class="note"
{{#if: {{{county<includeonly>|</includeonly>}}} |
{{#if: {{{county<includeonly>|</includeonly>}}} |
! colspan=2 style="background: white; text-align: right; font-size: 85%;" {{!}}  
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}}  
{{{county}}} }}
{{{county}}} }}
|- class="note"
|- class="note"
{{#if: {{{county 1<includeonly>|</includeonly>}}} |
{{#if: {{{county 1<includeonly>|</includeonly>}}} |
! colspan=2 style="background: white; text-align: right; font-size: 85%;" {{!}}  
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}}  
{{{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}}} }}]] }}
[[{{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: left; font-size: 100%;" {{!}}
! colspan=2 style="background: white; text-align: left; font-size: 100%;" {{!}}
Line 39: Line 38:
{{#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 11:13, 5 February 2011

[[File:{{{picture}}}|right|thumb|300px|{{{picture caption}}}]]
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