Widget:ProjectStep: Difference between revisions

From Makerpedia

No edit summary
EvaC (talk | contribs)
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class='step' show='{{{show}}}'>
<div class='step' show='<!--{$show|escape:'html'}-->'>
=== ===
    <h3></h3>
<img src='{{{src}}}'></img>
 
{{{inst}}}
    <!-- Conditionally render the image only if 'show' and 'src' are not 'none' -->
    <!--{if $show != 'none' && $src != 'none'}-->
        <img src='https://drive.google.com/thumbnail?id=<!--{$src|escape:'html'}-->&sz=w1000'></img>
        <div class="videoBox">
            <iframe src="https://drive.google.com/file/d/<!--{$src|escape:'html'}-->/preview"></iframe>
        </div>
    <!--{/if}-->
 
    <!--{$inst|escape:'html'}-->
</div>
</div>

Latest revision as of 19:49, 7 March 2025