Difference between revisions of "Template:HB Scotland row"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(redirecting per TFD outcome)
imported>Primefac
(Undid revision 698614307 by Primefac (talk) still some fixes to make...)
Line 1: Line 1:
#REDIRECT [[Template:HS listed building row]]
+
<noinclude>{|</noinclude>
{{r from merge}}
+
|- class="{{#If:{{{image|}}}|with_image|without_image}}; text-align: center"
 +
| {{{name|}}}
 +
| {{{location|}}}
 +
| {{{date_listed|}}}
 +
| {{#if:{{{grid_ref|}}}|{{gbmappingsmall|{{{grid_ref}}}}}<br />}}{{#if:{{{lat|}}}|{{Coord|{{{lat|}}}|{{{lon|}}}|format=dms|display=inline}}}}
 +
| {{#if: {{{category|}}}| {{#if: {{{notes|}}}|{{{notes}}}<br><small>'''(Category {{{category}}})'''</small>|<small>'''Category {{{category}}}'''</small> | }} | {{{notes|}}} }}
 +
| {{#if:{{{hb|}}}|[http://data.historic-scotland.gov.uk/pls/htmldb/f?p=2200:15:0::::BUILDING:{{{hb}}} {{{hb}}}]|{{#if:{{{hbnum|}}}|[http://data.historic-scotland.gov.uk/pls/htmldb/f?p=2200:15:0::::BUILDING:{{{hbnum}}} {{{hbnum}}}]}}}}
 +
| {{#if:{{{image|}}}
 +
    |[[File:{{{image|}}}|150x150px|{{{name|}}}]]<!-- This next bit adds an "additional upload" message and should probably be removed after the end of WLM--><p class="plainlinks" style="margin: 0 auto;"><small>[//commons.wikimedia.org/w/index.php?title=Special:UploadWizard&id={{urlencode:{{{hb|}}}}}&descriptionlang=en&description={{urlencode:{{#invoke:Delink|delink|{{{name|}}}}}}}&lat={{{lat|}}}&lon={{{lon|}}} Upload another image]</small><br><!--
 +
    --><small>{{#if:{{{commonscat|}}}|[[:commons:Category:{{{commonscat}}}{{!}}See more images]]}}</small></p><!--
 +
    -->|style="vertical-align:middle;text-align:center" {{!}} {{UploadCampaignLink|id={{{hb|}}}|description={{#invoke:Delink|delink|{{{name|}}}}}|lat={{{lat|}}}|lon={{{lon|}}}}}<!--
 +
  -->}}<noinclude>
 +
|}
 +
 
 +
{{documentation}}
 +
</noinclude>

Revision as of 05:34, 7 January 2016

Template:UploadCampaignLink
Template documentation[create]