Difference between revisions of "Template:HK Historic Building row"

From blackwiki
Jump to navigation Jump to search
imported>AleXXw
(adding id field)
imported>Romaine
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>{|</noinclude>
 
<noinclude>{|</noinclude>
|- class="{{#If:{{{image|}}}|with_image|without_image}}; text-align: center"
+
|- class="vcard {{#If:{{{image|}}}|with_image|without_image}}; text-align: center"
| {{{id|}}
+
| {{{id|}}}
| {{{name|}}}
+
| class="fn org" | {{{name|}}}
| {{{location|}}}
+
| class="label" | {{{location|}}}
 +
| {{#If: {{{lat|}}}|{{Coord|{{{lat|}}}|{{{lon|}}}|format=dms|display=inline }} }}
 
| {{{refs|}}}
 
| {{{refs|}}}
| {{#if:{{{image|}}}|[[File:{{{image|}}}|150x150px|center|border|{{{address|}}}]]|style="vertical-align:middle;text-align:center" {{!}} {{UploadCampaignLink|campaign=wlm-hk|id={{{hb|}}}|description={{{address|}}}|lat={{{lat|}}}|lon={{{lon|}}}}}}}<noinclude>
+
| {{#if:{{{image|}}}|[[File:{{{image|}}}|150x150px|center|border|{{{address|}}}]]<p class="plainlinks" style="margin: 0 auto;"><small>[//commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=wlm-hk-historic&id={{urlencode:{{{id|}}}}}&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|campaign=wlm-hk-historic|id={{{id|}}}|description={{urlencode:{{#invoke:Delink|delink|{{{name|}}}}}}}|lat={{{lat|}}}|lon={{{lon|}}}}}}}<noinclude>
 
|}
 
|}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:24, 4 September 2013

Template:UploadCampaignLink
Template documentation[view] [edit] [history] [purge]

Usage

Microformat

Template:UF-hcard-geo