Vorlage:Img: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
Zeile 1: Zeile 1:
{{Container|{{#if: {{{head|}}} |<div class="p-1 {{{headclasses|text-left font-weight-bold}}}">{{{head}}}</div>}}{{#if: {{{breadcrumb|}}} |<div class="p-1">{{Breadcrumb|{{{breadcrumb|}}}}}</div>}}{{#if: {{filename|}} |<div class="p-1 text-center">[[File:{{{filename|Registration}}}.png|class=img-fluid {{{imgclasses|}}}|alt={{{alt| {{{filename|}}}}}}|{{{height|auto}}}|]]</div> }}{{#if: {{{foot|}}} |<div class="p-1 text-muted {{{footclasses|text-left small}}}">{{{foot}}}</div>}}}}
+
<div class="d-none">
 +
{{#vardefine:image|{{{filename|Registration}}}.png}}
 +
<div>
 +
{{#ifexist: File:{{#var:image}} | {{Container|{{#if: {{{head|}}} |<div class="p-1 {{{headclasses|text-left font-weight-bold}}}">{{{head}}}</div>}}{{#if: {{{breadcrumb|}}} |<div class="p-1">{{Breadcrumb|{{{breadcrumb|}}}}}</div>}}{{#if: {{filename|}} |<div class="p-1 text-center">[[File:{{#var:image}}|class=img-fluid {{{imgclasses|}}}|alt={{{alt| {{{filename|}}}}}}|{{{height|auto}}}|]]</div> }}{{#if: {{{foot|}}} |<div class="p-1 text-muted {{{footclasses|text-left small}}}">{{{foot}}}</div>}}}} | {{WIP|{{#var:image}} }} }}

Version vom 9. August 2021, 12:59 Uhr