Difference between revisions of "Template:Historic building row"
Jump to navigation
Jump to search
Template documentation
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
Temporary fork of Template:EH listed building row for development. Should be merged back when complete.
Example of full display
| Name | Location | Type | Architect | Completed | Date listed | Grid ref.[note 1] | Geo-coordinates | Notes | Designation | Image | Ref. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Example name | Example location | Example type | Example architect | 1 April 2014 | 1 January 2000 | ST6132172442 | Lua error: callParserFunction: function "#coordinates" was not found. | Example notes1219892 | Example designation | [1]
|