Template:Infobox NT: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Try again...
RB (talk | contribs)
No edit summary
Line 1: Line 1:
{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{county 1| }}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}
{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{county 1| }}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}{{#vardefine:part|{{Part-BI|{{#var:shire}}}}}}
{| 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:#{{NT data|{{Part-BI|{{#var:shire}}|colour}}; 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: {{{jerriais| }}}| <br>''Jèrriais:'' {{{jerriais}}} }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#vardefine:type|heritage}}<!--Op codes here
|colspan=2 class= style="text-align: center; background:#{{NT data|{{Part-BI|{{#var:shire}}|colour}}; 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: {{{jerriais| }}}| <br>''Jèrriais:'' {{{jerriais}}} }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#vardefine:type|heritage}}<!--Op codes here
Line 8: Line 8:
|-
|-
! colspan=2 style="background: white; text-align: left; font-size: 170%;" {{!}}
! colspan=2 style="background: white; text-align: left; font-size: 170%;" {{!}}
{{#ifeq:{{NT data|{{#var:shire}}|logo}}| | |[[File:{{NT data|{{#var:shire}}|logo}}|left|50px]]}} {{NT data|{{#var:shire}}|name}}
{{#ifeq:{{NT data|{{#var:part}}|logo}}| | |[[File:{{NT data|{{#var:part}}|logo}}|left|50px]]}}{{NT data|{{#var:part}}|name}}
|- class="note"
|- class="note"
{{#if: {{{picture<includeonly>|</includeonly>}}} |
{{#if: {{{picture<includeonly>|</includeonly>}}} |

Revision as of 23:45, 29 December 2012

error: name not on list; font-size: 100%"|Infobox NT


[[]]

National Trust

[[File:{{{picture}}}|250px]]
{{{picture caption}}}
{{{class}}}
Grid reference: {{{os grid ref}}}
Location: {{{latitude}}} {{{longitude}}}
Address: {{{address}}}
Built {{{built}}}
Information
Owned by: {{{ownership}}}
Website: {{{website}}}