PortableInfobox/templates/PortableInfoboxItemImageCollectionMobileExperimental.mustache
2016-04-06 15:33:56 +02:00

10 lines
514 B
Plaintext

<div class="pi-image-collection"
data-component="portable-infobox-image-collection"
data-attrs="{{mercuryComponentAttrs}}">
<img class="article-media-placeholder"
src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox%3D'0 0 {{firstImage.width}} {{firstImage.height}}'%2F%3E"
alt="{{firstImage.title}}"
{{#firstImage.width}}width="{{firstImage.width}}"{{/firstImage.width}}
{{#firstImage.height}}height="{{firstImage.height}}"{{/firstImage.height}}/>
</div>