Vorlage:Infopanel 2Bilder Inblock: Unterschied zwischen den Versionen

Aus The Alchenomicon Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 4: Zeile 4:
<div style="border:2px solid #000; border-radius:4px; overflow:hidden; line-height:0;">[[Datei:{{{bild2}}}|{{{bildbreite|150}}}px|none|{{{alt2|}}}]]</div>
<div style="border:2px solid #000; border-radius:4px; overflow:hidden; line-height:0;">[[Datei:{{{bild2}}}|{{{bildbreite|150}}}px|none|{{{alt2|}}}]]</div>
</div>
</div>
<div class="infopanel-inblock-text" style="flex:0 0 auto; width:fit-content; min-width:160px; max-width:100%; text-align:left; font-size:0.85em; color:#aaa; border:2px solid #000; border-radius:4px; padding:8px; background:#1a1a1a; display:flex; align-items:center; box-sizing:border-box;">{{{bildtext|}}}</div>
<div class="infopanel-inblock-text" style="flex:0 0 160px; min-width:160px; max-width:100%; text-align:left; font-size:0.85em; color:#aaa; border:2px solid #000; border-radius:4px; padding:8px; background:#1a1a1a; display:flex; flex-direction:column; justify-content:center; align-items:stretch; box-sizing:border-box; overflow-wrap:break-word;">{{{bildtext|}}}</div>
</div></onlyinclude>
</div></onlyinclude>
<noinclude>
<noinclude>

Aktuelle Version vom 2. August 2026, 03:14 Uhr

[[Datei:{{{bild1}}}|150px|none|]]
[[Datei:{{{bild2}}}|150px|none|]]

Verwendung

{{Infopanel_2Bilder_Inblock
| bild1      = Dateiname1.png
| bild2      = Dateiname2.png
| alt1       = Alt-Text Bild 1
| alt2       = Alt-Text Bild 2
| bildtext   = ''Beschreibungstext''
| bildbreite = 150
}}