mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 20:57:19 +00:00
14 lines
753 B
Plaintext
14 lines
753 B
Plaintext
<div class="portable-infobox-item item-type-image no-margins">
|
|
<figure class="portable-infobox-image-wrapper">
|
|
<a href="{{url}}" class="image image-thumbnail{{#isVideo}}video video-thumbnail small{{/isVideo}}" title="{{alt}}">
|
|
<img src="{{thumbnail}}" class="portable-infobox-image" alt="{{alt}}"
|
|
width="{{{width}}}"
|
|
height="{{{height}}}" data-{{media-type}}-key="{{name}}" data-{{media-type}}-name="{{name}}"/>
|
|
{{#isVideo}}
|
|
{{#duration}}<span class="duration" itemprop="duration">{{duration}}</span>{{/duration}}
|
|
<span class="play-circle"></span>
|
|
{{/isVideo}}
|
|
</a>
|
|
{{#caption}}<figcaption class="portable-infobox-item-margins portable-infobox-image-caption">{{{caption}}}</figcaption>{{/caption}}
|
|
</figure>
|
|
</div> |