Difference between revisions of "Template:Infobox castle"

From Wikishire
Jump to: navigation, search
Line 30: Line 30:
 
! style="background: #D0F0C0;" {{!}} Location:
 
! style="background: #D0F0C0;" {{!}} Location:
 
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14|name={{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}}}}}} }}
 
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14|name={{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}}}}}} }}
 +
|-
 +
{{#if: {{{city<includeonly>|</includeonly>}}} |
 +
! style="background: #D0F0C0;" {{!}} City:
 +
{{!}} {{ifif|{{{city}}}}} }}
 
|-
 
|-
 
{{#if: {{{town<includeonly>|</includeonly>}}} |
 
{{#if: {{{town<includeonly>|</includeonly>}}} |

Revision as of 15:59, 10 July 2017

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