Difference between revisions of "Template:Historic building row"

From blackwiki
Jump to navigation Jump to search
imported>RexxS
(add missing 'else' (|) in gridref cell)
imported>Pigsonthewing
(don't use name in coord, inside template with microformat markup)
Line 8: Line 8:
 
{{#ifeq:{{{show_listed|}}}|yes|<td>{{{date_listed|}}}</td>|}}
 
{{#ifeq:{{{show_listed|}}}|yes|<td>{{{date_listed|}}}</td>|}}
 
{{#ifeq:{{{show_gridref|}}}|yes|<td>{{#if:{{{grid_ref|}}}|{{gbmappingsmall|{{{grid_ref}}}}}|}}</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|name={{#invoke:Delink|delink|{{{name|}}}}} }}}}
+
| {{#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>|}}
 
{{#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|}}}

Revision as of 14:38, 2 April 2014


Example of full display

References

  1. "Avon Bridge". Images of England. Retrieved 2007-03-16.
  1. Sometimes known as OSGB36, the grid reference is based on the British national grid reference system used by the Ordnance Survey.

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