Template:Infobox NT: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
mNo edit summary
RB (talk | contribs)
Try again...
Line 1: Line 1:
{{#vardefine:shire|Rutland}}{{#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:trusttag|{{#switch:{{#var:shire}}
{{#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}}}}}}}}}
|Bermuda=BNT
{| 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;"
|Bailiwick of Guernsey=NTG
|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
|Bailiwick of Jersey=NTJ
|Isle of Man=MNH
|St Helena, Ascension and Tristan da Cunha=NTSH
|{{#switch:{{part-BI|{{#var:shire}}
|England
|Northern Ireland
|Wales=NTE
|Republic of Ireland=AT
|Scotland=NTS
|GNT}}}}{{#switch:{{#var:trusttag}}
|BNT={{#vardefine:bground|085231}}{{#vardefine:namehead|[[Bermuda National Trust]]}}
|NTE={{#vardefine:bground|00b43c}}{{#vardefine:namehead|[[National Trust for Places of Historic Interest or Natural Beauty|National Trust]]}}{{#vardefine:logo|NTE logo.svg}}
|NTS={{#vardefine:bground|001f38}}{{#vardefine:namehead|[[National Trust for Scotland]]}} {{#vardefine:logo|National Trust for Scotland.svg}}
|NTG={{#vardefine:bground|1e483e}}{{#vardefine:namehead|[[National Trust of Guernsey]]}}
|NTJ={{#vardefine:bground|000fff}}{{#vardefine:namehead|[[National Trust for Jersey]]}}
|MNH={{#vardefine:bground|ff0000}}{{#vardefine:namehead|[[Manx National Heritage]]}}
|AT={{#vardefine:bground|000073}}{{#vardefine:namehead|[[An Taisce]]}}
{{#vardefine:bground|D0F0C0}}{{#vardefine:namehead|National Trust}}}}{{#vardefine:type|heritage}}<!--Box begins here
-->{| 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:#D0F0C0; 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}}} }} }}{{#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}}}}}}}}}<!--Op codes here
-->
-->
|-
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
{{#if:{{{village|}}}|[[{{{village}}}]],&nbsp;}} {{#if:{{{town|}}}|[[{{{town}}}]],&nbsp;}}
{{#if:{{{village|}}}|{{{village}}}}}{{#if:{{{town|}}}|{{{town}}}}}<br/>[[{{#var:shire}}]]
 
[[{{#var:shire}}]]
|-
|-
! colspan=2 style="background: white; text-align: left; font-size: 170%;" {{!}}
! colspan=2 style="background: white; text-align: left; font-size: 170%;" {{!}}
[[File:{{#var:logo}}|left|50px]] {{#var:namehead}}
{{#ifeq:{{NT data|{{#var:shire}}|logo}}| | |[[File:{{NT data|{{#var:shire}}|logo}}|left|50px]]}} {{NT data|{{#var:shire}}|name}}
|- class="note"
|- class="note"
{{#if: {{{picture<includeonly>|</includeonly>}}} |
{{#if: {{{picture<includeonly>|</includeonly>}}} |
Line 64: Line 42:
! style="background: {{#var:bground}};" {{!}} Website:
! style="background: {{#var:bground}};" {{!}} Website:
{{!}} {{{website}}} }}
{{!}} {{{website}}} }}
|}<includeonly>[[Category:National Trust properties in {{#var:shire}}]]<noinclude>{{Infobox island/doc}}</noinclude>[[Category:Infoboxes|National Trust]]
|}<includeonly><!--Categorisation code in here--><noinclude>{{Infobox NT property/doc}}</noinclude>[[Category:Infoboxes|National Trust]] [[Category:National Trust templates]]

Revision as of 23:40, 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}}}