Difference between revisions of "Template:HPC row/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Arctic.gnome
(test)
imported>Arctic.gnome
(test wikidata)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{HPC header}}
+
|- class="vcard"
</noinclude>|- class="vcard"
 
 
| class="fn org" | {{{name|}}}
 
| class="fn org" | {{{name|}}}
| class="adr" | <div class="street-address">{{{address|}}}</div><div><span class="locality">{{{municipality|}}}</span>, <abbr class="region" title="{{CanProvName|{{{region|}}}|name}}">{{CanProvName|{{{region|}}}}}</abbr></div>
+
| class="label" | {{#if:{{{address|}}}{{{wikidata|}}}|{{{address|{{#property:P969|from={{{wikidata|}}} }} }}} }}
 +
| Class="adr" | <span class="locality">{{{municipality|}}}</span>
 
| {{{pc|}}}
 
| {{{pc|}}}
 
| {{#if:{{both|{{{lat|}}}|{{{lon|}}}}}
 
| {{#if:{{both|{{{lat|}}}|{{{lon|}}}}}
Line 13: Line 13:
 
| {{#if:{{{idp|}}}|[http://www.historicplaces.ca/en/rep-reg/place-lieu.aspx?id={{{idp|}}} {{{idp|}}}]}}
 
| {{#if:{{{idp|}}}|[http://www.historicplaces.ca/en/rep-reg/place-lieu.aspx?id={{{idp|}}} {{{idp|}}}]}}
 
| {{#if:{{{idm|}}}|[http://www.historicplaces.ca/en/rep-reg/place-lieu.aspx?id={{{idm|}}} {{{idm|}}}]}}
 
| {{#if:{{{idm|}}}|[http://www.historicplaces.ca/en/rep-reg/place-lieu.aspx?id={{{idm|}}} {{{idm|}}}]}}
| class="photo" style="text-align:center;" | {{#if:{{{image|}}}|[[File:{{{image|}}}|100px]]{{#if:{{{commonscat|}}}|<br />[[:commons:Category:{{{commonscat}}}|More images]]}}| {{UploadCampaignLink|campaign=wlm-ca|id={{#if:{{{idf|}}}|{{{idf|}}}%7C}}{{#if:{{{idNHS|}}}|{{{idNHS|}}}%7C}}{{#if:{{{idp|}}}|{{{idp|}}}%7C}}{{#if:{{{idm|}}}|{{{idm|}}}%7C}}|description={{{name|}}}|lat={{{lat|}}}|lon={{{lon|}}} }} }}<noinclude>
+
| {{#if:{{{wikidata|}}}|[[d:{{{wikidata}}}|{{{wikidata}}}]]}}
|}
+
| style="text-align:center;" | {{#if:{{{image|}}}{{{wikidata|}}}|[[File:{{{image|{{#property:P18|from={{{wikidata|}}} }} }}}|100px]]{{#if:{{{commonscat|}}}{{{wikidata|}}}|<br />[[:commons:Category:{{{commonscat|{{#property:P373|from={{{wikidata|}}} }}}}}|More images]]}}|{{UploadCampaignLink|campaign=wlm-ca|id={{#if:{{{idf|}}}|{{{idf|}}}%7C}}{{#if:{{{idNHS|}}}|{{{idNHS|}}}%7C}}{{#if:{{{idp|}}}|{{{idp|}}}%7C}}{{#if:{{{idm|}}}|{{{idm|}}}%7C}}|description={{{name|}}}|lat={{{lat|}}}|lon={{{lon|}}} }} }}
{{Documentation}}
 
</noinclude>
 

Latest revision as of 16:38, 28 April 2016

|- class="vcard" | class="fn org" | | class="label" | | Class="adr" | | | | | | | | style="text-align:center;" | Template:UploadCampaignLink