mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 12:35:31 +00:00
16 lines
763 B
Plaintext
16 lines
763 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> |