Difference between revisions of "Template:HB Scotland row"

From blackwiki
Jump to navigation Jump to search
imported>Vclaw
m (fix hbnum)
imported>Vclaw
(update Historic Scotland URL)
Line 6: Line 6:
 
| {{#if:{{{grid_ref|}}}|{{gbmappingsmall|{{{grid_ref}}}}}<br />}}{{#if:{{{lat|}}}|{{Coord|{{{lat|}}}|{{{lon|}}}|format=dms|display=inline}}}}
 
| {{#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: {{{category|}}}| {{#if: {{{notes|}}}|{{{notes}}}<br><small>'''(Category {{{category}}})'''</small>|<small>'''Category {{{category}}}'''</small> | }} | {{{notes|}}} }}  
| {{#if:{{{hb|}}}|[http://hsewsf.sedsh.gov.uk/hslive/hsstart?P_HBNUM={{{hb}}} {{{hb}}}]|{{#if:{{{hbnum|}}}|[http://hsewsf.sedsh.gov.uk/hslive/hsstart?P_HBNUM={{{hbnum}}} {{{hbnum}}}]}}}}
+
| {{#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|}}}
 
| {{#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><!--
 
     |[[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><!--

Revision as of 17:22, 1 January 2014

Template:UploadCampaignLink
Template documentation[create]