Vorlage:Img: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
 
(19 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<div class="container p-1 m-2" align="{{{align|center}}}">
+
<div class="d-none">
<div class="d-inline-flex p-2 m-0 bg-light shadow-sm border" style="margin-left:40px !important; margin-right:40px !important; ">
+
{{#vardefine:image|TagManagerCreate001.gif}}
<table class="p-0 m-0">
+
{{#vardefine:image| {{#ifexist: File:{{{filename|Registration}}}.png | {{{filename|Registration}}}.png | {{{filename|Registration}}} }} }}
{{#if: {{{head|}}} |  
+
{{#vardefine:padding| {{#if: {{{padding|}}} | padding: 0 {{{padding|}}}% 0 {{{padding|}}}%; | }} }}
<tr>
+
{{#vardefine:type| {{#sub:{{#var:image}}|-3}} }}
<td class="p-1 {{{headclasses|text-left font-weight-bold}}}">{{{head}}}</td>
+
{{#vardefine:foot|{{{foot|}}}}}
</tr>
 
}}
 
{{#if: {{{breadcrumb|}}} |  
 
<tr>
 
<td class="p-1">
 
{{Breadcrumb| {{{breadcrumb|}}} | light}}
 
</td>
 
</tr>
 
}}
 
<tr>
 
<td class="p-1 text-center">[[File:{{{filename|AB_Dokulogo_black}}}.png|class=img-fluid {{{imgclasses|}}}|alt={{{alt| {{{filename|}}} }}}|{{{height|auto}}}|]]</td>
 
</tr>
 
{{#if: {{{foot|}}} |
 
<tr>
 
<td class="p-1 text-muted {{{footclasses|text-left small}}}">{{{foot}}}</td>
 
</tr>
 
}}
 
</table>
 
</div>
 
 
</div>
 
</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: {{#var:foot}} |<div class="p-1 text-muted {{{footclasses|text-left small}}}">{{#var:foot}}</div>}}|{{{cclass|}}}|{{{cstyle| {{#var:padding}} }}} }} | {{WIP|Image {{#var:image}} is missing}} }}

Aktuelle Version vom 15. Dezember 2021, 10:27 Uhr