Difference between revisions of "Template:Historic building row"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
m (content=)
imported>Monkbot
m (Task 18a (cosmetic) (manual): eval 1 template: hyphenate params (1×);)
 
(2 intermediate revisions by 2 users not shown)
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|}}}
 
     |[[File:{{{image|}}}|150x150px|center|border|{{{name|}}}]]{{#if:{{{commonscat|}}}|[[:commons:Category:{{{commonscat}}}|More images]]}}|style="vertical-align:middle;text-align:center" {{!}} {{UploadCampaignLink|campaign=wlm-gb-eng|id={{{uid|}}}|description={{#if:{{{upload_desc|}}}|{{{upload_desc}}}|{{#invoke:Delink|delink|{{{name|}}}}}}}|lat={{{lat|}}}|lon={{{lon|}}}}}}}}} {{#ifeq:{{{show_ref|}}}|yes|{{!!}} {{{reference|}}}|}}</includeonly><noinclude>
 
     |[[File:{{{image|}}}|150x150px|center|border|{{{name|}}}]]{{#if:{{{commonscat|}}}|[[:commons:Category:{{{commonscat}}}|More images]]}}|style="vertical-align:middle;text-align:center" {{!}} {{UploadCampaignLink|campaign=wlm-gb-eng|id={{{uid|}}}|description={{#if:{{{upload_desc|}}}|{{{upload_desc}}}|{{#invoke:Delink|delink|{{{name|}}}}}}}|lat={{{lat|}}}|lon={{{lon|}}}}}}}}} {{#ifeq:{{{show_ref|}}}|yes|{{!!}} {{{reference|}}}|}}</includeonly><noinclude>
  
{{Documentation|content=
+
{{Documentation|content=Temporary fork of [[:Template:EH listed building row]] for development. Should be merged back when complete.
 
 
Temporary fork of [[:Template:EH listed building row]] for development. Should be merged back when complete.
 
  
 
== Example of full display ==
 
== Example of full display ==
Line 27: Line 20:
 
| show_img = yes
 
| show_img = yes
 
| show_ref = yes
 
| show_ref = yes
}}
+
}}{{Historic building row
 
 
{{Historic building row
 
 
| name = Example name
 
| name = Example name
 
| location = Example location
 
| location = Example location
Line 50: Line 41:
 
| image = Avonbridge.JPG
 
| image = Avonbridge.JPG
 
| show_ref = yes
 
| show_ref = yes
| reference = <ref name="avonbridge">{{cite web | title=Avon Bridge | work=Images of England | url=http://www.imagesofengland.org.uk/details/default.aspx?id=380854 | accessdate=2007-03-16}}</ref>
+
| reference = <ref name="avonbridge">{{cite web | title=Avon Bridge | work=Images of England | url=http://www.imagesofengland.org.uk/details/default.aspx?id=380854 | access-date=2007-03-16}}</ref>
 
}}
 
}}
 
+
{{!}}}
|}
 
  
 
{{Template reference list|note}}
 
{{Template reference list|note}}

Latest revision as of 13:39, 22 December 2020


Template documentation

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

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.

Microformat

Template:UF-hcard-geo