PortableInfobox/templates/PortableInfoboxItemImageCollectionMobile.mustache

10 lines
514 B
Plaintext
Raw Normal View History

<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>