Template:Infobox NT: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
mNo edit summary
RB (talk | contribs)
mNo 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}}}}}}}}}{{#vardefine:part|{{Part-BI|{{#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}}}}}}}}}{{#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|{{#var:part}}|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|{{#var:part}}|colour}}; color:#{{#ifeq:{{NT data|{{#var:part}}|font}}| |000000|{{NT data|{{#var:part}}|font}}}}; 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 style="background: white; text-align: center; font-size: 100%;" {{!}}
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
{{#if:{{{village|}}}|{{{village}}}}}{{#if:{{{town|}}}|{{{town}}}}}<br/>[[{{#var:shire}}]]
{{#if:{{{village|}}}|{{{village}}}<br/>}}{{#if:{{{town|}}}|{{{town}}}<br/>}}[[{{#var:shire}}]]
|-
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
Line 51: Line 51:
{{#if:{{{county 4|}}}|{{CatNT|{{namefix|{{{county 4}}}}}}}}}</includeonly>
{{#if:{{{county 4|}}}|{{CatNT|{{namefix|{{{county 4}}}}}}}}}</includeonly>
<noinclude>{{Infobox NT property/doc}}
<noinclude>{{Infobox NT property/doc}}
[[Category:Infoboxes|National Trust]] [[Category:National Trust templates]]
[[Category:Infoboxes|National Trust]] [[Category:National Trust templates|Infobox]]

Revision as of 20:51, 1 January 2013

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}}}

Template:Infobox NT property/doc