Vorlage:Infopanel 2Bilder Inblock: Unterschied zwischen den Versionen

Aus The Alchenomicon Wiki
Die Seite wurde neu angelegt: „<onlyinclude><div class="infoblock-2bilder-inblock" style="display:flex; align-items:stretch; gap:10px; clear:both; margin:1.5em 0; background:#242424; border:4px solid #000; border-radius:8px; padding:8px; box-sizing:border-box;"> <div style="display:flex; gap:6px; flex-shrink:0;"> <div style="border:2px solid #000; border-radius:4px; overflow:hidden; line-height:0;">[[Datei:{{{bild1}}}|{{{bildbreite|150}}}px|none|{{{alt1|}}}]]</div> <div style="border:2…“
 
Keine Bearbeitungszusammenfassung
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<onlyinclude><div class="infoblock-2bilder-inblock" style="display:flex; align-items:stretch; gap:10px; clear:both; margin:1.5em 0; background:#242424; border:4px solid #000; border-radius:8px; padding:8px; box-sizing:border-box;">
<onlyinclude><div class="infopanel-2bilder-inblock" style="display:flex; align-items:stretch; gap:10px; clear:both; margin:1.5em 0; background:#242424; border:4px solid #000; border-radius:8px; padding:8px; box-sizing:border-box; width:fit-content; max-width:100%;">
<div style="display:flex; gap:6px; flex-shrink:0;">
<div class="infopanel-inblock-images" style="display:flex; gap:6px; flex-shrink:0;">
<div style="border:2px solid #000; border-radius:4px; overflow:hidden; line-height:0;">[[Datei:{{{bild1}}}|{{{bildbreite|150}}}px|none|{{{alt1|}}}]]</div>
<div style="border:2px solid #000; border-radius:4px; overflow:hidden; line-height:0;">[[Datei:{{{bild1}}}|{{{bildbreite|150}}}px|none|{{{alt1|}}}]]</div>
<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 style="flex:1; 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;">{{{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>
== Verwendung ==
== Verwendung ==
<pre>
<pre>
{{Infoblock_2Bilder_Inblock
{{Infopanel_2Bilder_Inblock
| bild1      = Dateiname1.png
| bild1      = Dateiname1.png
| bild2      = Dateiname2.png
| bild2      = Dateiname2.png
Zeile 18: Zeile 18:
}}
}}
</pre>
</pre>
'''Hinweis:''' Diese Vorlage floatet nicht und nimmt die volle verfügbare Breite des umgebenden Elements ein (z.B. Artikelspalte oder Abschnitt). Sie eignet sich als eigenständiger Absatz zwischen zwei Textblöcken, nicht als Randelement neben Fließtext.
'''Parameter:''' analog zu Infopanel_2Bilder (ohne seite/breite).
</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
}}