Difference between revisions of "Template:Infobox castle"

From Wikishire
Jump to: navigation, search
Line 4: Line 4:
 
|-
 
|-
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
{{#var:shire}}{{#ifeq:{{#var:shire}}|Yorkshire|{{#if:{{{riding|}}}|{{riding|{{{riding}}}}}<br /><small>{{#switch:{{#var:riding}}
+
{{#var:shire}}{{#ifeq:{{#var:shire}}|Yorkshire|{{#if:{{{riding|}}}|{{riding|{{{riding}}}}}<br /><small>{{ridinglink|{{#var:riding}}}}</small>}} }}
|East Riding of Yorkshire=[[East Riding of Yorkshire|East Riding]]
+
|North Riding of Yorkshire=[[North Riding of Yorkshire|North Riding]]
+
|West Riding of Yorkshire=[[West Riding of Yorkshire|West Riding]]
+
|}}</small>}} }}
+
 
|- class="note"
 
|- class="note"
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |

Revision as of 12:32, 6 September 2019

Infobox castle
[[File:{{{picture}}}|250px]]
{{{picture caption}}}
{{{class}}}
Type: {{{type}}}
Location
Grid reference: Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}}
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}}}
Template:Infobox castle/doc