Difference between revisions of "Template:Historic building row"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
m (content=)
imported>RexxS
(get rid of extra linebreaks that occur when two adjacent cells are not displayed)
Line 2: Line 2:
 
|- class="vcard {{#If:{{{image|}}}|with_image|without_image}}; text-align: center"
 
|- class="vcard {{#If:{{{image|}}}|with_image|without_image}}; text-align: center"
 
! scope="row" style="background: #f9f9f9;" class="fn org" | {{{name|}}}
 
! scope="row" style="background: #f9f9f9;" class="fn org" | {{{name|}}}
| class="label" | {{{location|}}}
+
| class="label" | {{{location|}}} {{#ifeq:{{{show_type|}}}|yes|<td class="category">{{{type|}}}</td>|}} {{#ifeq:{{{show_architect|}}}|yes|<td>{{{architect|}}}</td>|}}
{{#ifeq:{{{show_type|}}}|yes|<td class="category">{{{type|}}}</td>|}}
+
| {{{completed|}}} {{#ifeq:{{{show_listed|}}}|yes|<td>{{{date_listed|}}}</td>|}} {{#ifeq:{{{show_gridref|}}}|yes|<td>{{#if:{{{grid_ref|}}}|{{gbmappingsmall|{{{grid_ref}}}}}|}}</td>|}}
{{#ifeq:{{{show_architect|}}}|yes|<td>{{{architect|}}}</td>|}}
+
| {{#if:{{{lat|}}}|{{Coord|{{{lat|}}}|{{{lon|}}}|format=dms|region:GB_type:landmark|display=inline }}}} {{#ifeq:{{{show_notes|}}}|yes|<td><span class="note">{{{notes|}}}</span>{{#if:{{{uid|}}}|<span class="uid">[http://list.english-heritage.org.uk/resultsingle.aspx?uid={{{uid}}} {{{uid}}}]</span>}}</td>|}}
| {{{completed|}}}
 
{{#ifeq:{{{show_listed|}}}|yes|<td>{{{date_listed|}}}</td>|}}
 
{{#ifeq:{{{show_gridref|}}}|yes|<td>{{#if:{{{grid_ref|}}}|{{gbmappingsmall|{{{grid_ref}}}}}|}}</td>|}}
 
| {{#if:{{{lat|}}}|{{Coord|{{{lat|}}}|{{{lon|}}}|format=dms|region:GB_type:landmark|display=inline }}}}
 
{{#ifeq:{{{show_notes|}}}|yes|<td><span class="note">{{{notes|}}}</span>{{#if:{{{uid|}}}|<span class="uid">[http://list.english-heritage.org.uk/resultsingle.aspx?uid={{{uid}}} {{{uid}}}]</span>}}</td>|}}
 
 
| {{{designation|}}}
 
| {{{designation|}}}
 
{{#ifeq:{{{show_img|}}}|yes|{{!}} {{#if:{{{image|}}}
 
{{#ifeq:{{{show_img|}}}|yes|{{!}} {{#if:{{{image|}}}

Revision as of 21:14, 7 April 2014


Template documentation

Temporary fork of Template:EH listed building row for development. Should be merged back when complete.

Example of full display