Difference between revisions of "Template:Infobox castle"

From Wikishire
Jump to: navigation, search
m
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:
{{!}} {{{os grid ref}}} }}
+
{{!}} {{map|{{{os grid ref}}}}} }}
 
|-
 
|-
 
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
 
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
Line 29: Line 29:
 
{{#if: {{{town<includeonly>|</includeonly>}}} |
 
{{#if: {{{town<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Main town:
 
! style="background: #D0F0C0;" {{!}} Main town:
{{!}} {{{town}}} }}
+
{{!}} {{ifif{{{town}}}}} }}
 
|-
 
|-
 
{{#if: {{{village<includeonly>|</includeonly>}}} |
 
{{#if: {{{village<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Village:
 
! style="background: #D0F0C0;" {{!}} Village:
{{!}} {{{main village}}} }}
+
{{!}} {{ifif|{{{main village}}}}} }}
 
|-
 
|-
 
| colspan="2" style="background: #D0F0C0; text-align: center;"|'''History'''
 
| colspan="2" style="background: #D0F0C0; text-align: center;"|'''History'''

Revision as of 14:01, 27 March 2013

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}}}
Main town: {{ifif{{{town}}}}}
Village: {{{main village}}}
History
Built {{{built}}}
Material: {{{material}}}
Battles: {{{battles}}}
Key events: {{{events}}}
Information
Condition: {{{condition}}}
Owned by: {{{ownership}}}
Garrison: {{{garrison}}}
Website: {{{website}}}
E-mail: {{{email}}}
Template:Infobox castle/doc