Vorlage:BasePanel: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „<div class="{{#switch: {{{type|info}}} | info=alert-info | tip=alert-success | warning=alert-danger | example=bg-light | quote=bg-light text-muted | alert-info…“)
 
Zeile 1: Zeile 1:
<div class="{{#switch: {{{type|info}}} | info=alert-info | tip=alert-success | warning=alert-danger | example=bg-light | quote=bg-light text-muted | alert-info }} p-1 mx-0 my-3 shadow-sm" style="{{#ifeq: {{{type|info}}} | quote | border-left: 6px solid #ddd;}}">
+
<div class="{{#switch: {{{type|info}}} | info=alert-info | tip=alert-success | warning=alert-danger | example=bg-light | quote=bg-light text-muted | alert-info }} p-1 mx-0 my-3 shadow-sm" style="{{#ifeq: {{{type|info}}} | quote | border-left: 6px solid #ddd;}}"><table class="p-0 m-0">{{#ifeq: {{{type|info}}} | example |<tr><td width="100%" class="mx-2 px-2 mb-2"><span class="badge badge-secondary">Beispiel</span></td></tr><tr><td width="100%" class="mx-2 px-2">{{{text|informations}}}</td></tr>|<tr><td width="1%" class="mx-2 px-2"><i class="{{#switch: {{{type|info}}} | info = fas fa-info-circle | tip = fas fa-lightbulb | warning = fas fa-exclamation-circle}}  "></i></td><td width="100%">{{{text|informations}}}</td></tr> }} </table></div>
<table class="p-0 m-0">
 
{{#ifeq: {{{type|info}}} | example |
 
<tr>
 
<td width="100%" class="mx-2 px-2 mb-2"><span class="badge badge-secondary">Beispiel</span></td>
 
</tr>
 
<tr>
 
<td width="100%" class="mx-2 px-2">{{{text|informations}}}</td>
 
</tr>
 
|
 
<tr>
 
<td width="1%" class="mx-2 px-2"><i class="{{#switch: {{{type|info}}} | info = fas fa-info-circle | tip = fas fa-lightbulb | warning = fas fa-exclamation-circle}}  "></i></td>
 
<td width="100%">{{{text|informations}}}</td>
 
</tr>
 
}}
 
</table>
 
</div>
 

Version vom 15. April 2021, 14:15 Uhr

informations