Template:Infobox castle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{| 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 | |colspan=2 style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|castle}}{{#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: {{{latin| }}}| <br>Latin: ''{{{latin}}}'' }}{{#if: {{{greek| }}}| <br>Greek: ''{{{greek}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#vardefine:type2|heritage}}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}<!--Op codes here | ||
--> | --> | ||
|- | |- | ||
Line 21: | Line 21: | ||
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} | | {{#if: {{{os grid ref<includeonly>|</includeonly>}}} | | ||
! style="background: #D0F0C0;" {{!}} Grid reference: | ! style="background: #D0F0C0;" {{!}} Grid reference: | ||
{{!}} {{map|{{{os grid ref}}}}} }} | {{!}} {{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}} }} }} | ||
|- | |- | ||
{{#if: {{{latitude<includeonly>|</includeonly>}}} | | {{#if: {{{latitude<includeonly>|</includeonly>}}} | | ||
Line 79: | Line 79: | ||
{{!}} {{{email}}} }} | {{!}} {{{email}}} }} | ||
|}<includeonly>{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | |}<includeonly>{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | ||
|battery | |||
|artillery battery | |||
|gun-battery | |||
|gun battery=[[Category:Gun batteries {{namefix 3|{{#var:shire}}}}]] | |||
|broch=[[Category:Brochs of {{#var:shire}}]] | |broch=[[Category:Brochs of {{#var:shire}}]] | ||
|hillfort | |hillfort | ||
Line 90: | Line 94: | ||
|castrum=[[Category:Roman forts in {{#var:shire}}]]{{riding category|Roman forts}} | |castrum=[[Category:Roman forts in {{#var:shire}}]]{{riding category|Roman forts}} | ||
|saxon shore fort=[[Category:Roman forts in {{#var:shire}}]]{{riding category|Roman forts}} [[Category:Saxon Shore forts]] | |saxon shore fort=[[Category:Roman forts in {{#var:shire}}]]{{riding category|Roman forts}} [[Category:Saxon Shore forts]] | ||
|broch=[[Category:Brochs of {{#var:shire}}]] | |||
|broch=[[Category:Brochs of {{#var:shire}}]] | |||
|round tower=[[Category:Round towers in {{#var:shire}}]] | |||
|device fort=[[Category:Device forts]]{{Castlecat|{{#var:shire}}}} | |device fort=[[Category:Device forts]]{{Castlecat|{{#var:shire}}}} | ||
|palmerston fort=[[Category:Palmerston forts]]{{Castlecat|{{#var:shire}}}} | |palmerston fort=[[Category:Palmerston forts]]{{Castlecat|{{#var:shire}}}} |
Latest revision as of 16:45, 25 October 2024
Infobox castle | |
[[File:{{{picture}}}|250px]] {{{picture caption}}} | |
---|---|
{{{class}}} | |
Type: | {{{type}}} |
Location | |
Grid reference: | |
Location: | {{{latitude}}} {{{longitude}}} |
City: | {{{city}}} |
Town: | {{{town}}} |
Village: | {{{village}}} |
History | |
Built {{{built}}} | |
Material: | {{{material}}} |
Battles: | {{{battles}}} |
Key events: | {{{events}}} |
Information | |
Condition: | {{{condition}}} |
Owned by: | {{{ownership}}} (in the care of {{{controlled by}}}) |
Garrison: | {{{garrison}}} |
Website: | {{{website}}} |
E-mail: | {{{email}}} |