Vorlage:Projekt: Unterschied zwischen den Versionen
Aus OHO - search engine for sustainable open hardware projects
Zeile 246: | Zeile 246: | ||
}} | }} | ||
</div> | </div> | ||
| | |class="project_imagecell"| | ||
{{#arraydefine:imglist|{{{Images|}}}| /\n\n/}} | |||
{{#if: {{#pos:{{{firstin|}}}|.youtube.}} | {{#if: {{#pos:{{{firstin|}}}|.youtube.}} | ||
| | | | ||
{{#evt:service=youtube|id={{{firstin|}}}|dimensions=480x360|description=|container=frame}} | {{#evt:service=youtube|id={{{firstin|}}}|dimensions=480x360|description=|container=frame}} | ||
{{# | {{#vardefine:gallmin|0}} | ||
| | | | ||
{{# | [[File:{{#arrayindex:imglist|0}}|frameless|link=|300x300px|class=imgproject_gallery]] | ||
{{#vardefine:gallmin|1}} | |||
}} | }} | ||
|} | |} | ||
{{#ifexpr: {{#arraysize:imglist}} > {{#var:gallmin}} | | |||
<div class="project_gallery_scroll_box waitbox"> | |||
{{#arraymap:{{{Images|}}}|\n\n|xy|[[File:xy|frameless|200x200px]]| }} | |||
</div> | |||
}} | |||
{{#if:{{{desc|}}}| | {{#if:{{{desc|}}}| | ||
<p> | <p> |