Difference between revisions of "Template:CHL row"

From blackwiki
Jump to navigation Jump to search
imported>Huon
(no need to display upload button if an image exists)
imported>Gorthian
(Straighten out some of the syntax)
 
Line 2: Line 2:
 
|- class="vcard"
 
|- class="vcard"
 
|style="text-align:center;"|{{#if:{{{image|}}}|[[File:{{{image|}}}|100px|center|border|alt={{{alt|{{{name|}}}|}}}|{{{name|}}}]]|{{UploadCampaignLink|campaign=wlm-us-ca|id={{{refnum|}}}|description={{#if:{{{article|}}} | [[:en:{{{article|}}}|{{{name|}}}]] | {{{name|}}} }}|image=Small_upload_photo_button.png|size=95|lat={{{lat|}}}|lon={{{lon|}}}}}}}
 
|style="text-align:center;"|{{#if:{{{image|}}}|[[File:{{{image|}}}|100px|center|border|alt={{{alt|{{{name|}}}|}}}|{{{name|}}}]]|{{UploadCampaignLink|campaign=wlm-us-ca|id={{{refnum|}}}|description={{#if:{{{article|}}} | [[:en:{{{article|}}}|{{{name|}}}]] | {{{name|}}} }}|image=Small_upload_photo_button.png|size=95|lat={{{lat|}}}|lon={{{lon|}}}}}}}
! {{#if:{{{type|}}} | {{{{{type|}}} color}}| style="background-color:{{California/color}}"}}  | <small>{{{pos|0}}}</small>
+
! {{#if:{{{type|}}} | {{{{{type|}}} color}}| <tr style="background-color:{{California/color}}">}}  | <small>{{{pos|0}}}</small>
 
| {{#if:{{{article|}}} | [[{{{article|}}}|{{{name|}}}]] | <span class="fn org">[[{{{name|}}}]]</span> }} {{{name_extra|}}}
 
| {{#if:{{{article|}}} | [[{{{article|}}}|{{{name|}}}]] | <span class="fn org">[[{{{name|}}}]]</span> }} {{{name_extra|}}}
 
| class="adr" | <span class="label">{{{address|}}}</span><br/> {{#if:{{{lat|}}}{{{lon|}}}|<small>{{Coord|{{{lat|}}}|{{{lon|}}}|format=dms|display=inline|name={{{name|}}}}}</small>}}
 
| class="adr" | <span class="label">{{{address|}}}</span><br/> {{#if:{{{lat|}}}{{{lon|}}}|<small>{{Coord|{{{lat|}}}|{{{lon|}}}|format=dms|display=inline|name={{{name|}}}}}</small>}}

Latest revision as of 03:11, 2 October 2020

Image [1] Landmark name Location City or town Summary
Template:UploadCampaignLink 0 [[]]
Template documentation[view] [edit] [history] [purge]

Usage

Microformat

Template:UF-hcard-geo

  1. "California Historical Landmarks By County". Ohp.parks.ca.gov. Retrieved 2019-04-03.