Vorlage:Infopanel 2Bilder: Unterschied zwischen den Versionen
Aus The Alchenomicon Wiki
Gk (Diskussion | Beiträge) Die Seite wurde neu angelegt: „<onlyinclude><div class="infopanel-2bilder" style="float:{{{seite|right}}}; clear:{{{seite|right}}}; margin: 0 0 1em 1em; background:#242424; border:4px solid #000; border-radius:8px; padding:8px; width:{{{breite|320}}}px; box-sizing:border-box;"> <div style="display:flex; gap:6px;"> <div style="flex:1; border:2px solid #000; border-radius:4px; overflow:hidden; line-height:0;">[[Datei:{{{bild1}}}|{{{bildbreite|150}}}px|none|{{{alt1|}}}]]</div> <div style=…“ |
Gk (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<onlyinclude><div class="infopanel-2bilder" style="float:{{{seite|right}}}; clear:{{{seite|right}}}; margin: 0 0 1em 1em; background:#242424; border:4px solid #000; border-radius:8px; padding:8px; width:{{{breite|320}}}px; box-sizing:border-box;"> | <onlyinclude><div class="infopanel-2bilder" style="float:{{{seite|right}}}; clear:{{{seite|right}}}; margin:{{#switch: {{{seite|right}}} | left = 0 1em 1em 0 | #default = 0 0 1em 1em }}; background:#242424; border:4px solid #000; border-radius:8px; padding:8px; width:{{{breite|320}}}px; box-sizing:border-box;"> | ||
<div style="display:flex; gap:6px;"> | <div style="display:flex; gap:6px;"> | ||
<div style="flex:1; border:2px solid #000; border-radius:4px; overflow:hidden; line-height:0;">[[Datei:{{{bild1}}}|{{{bildbreite|150}}}px|none|{{{alt1|}}}]]</div> | <div style="flex:1; border:2px solid #000; border-radius:4px; overflow:hidden; line-height:0;">[[Datei:{{{bild1}}}|{{{bildbreite|150}}}px|none|{{{alt1|}}}]]</div> | ||
| Zeile 14: | Zeile 14: | ||
| alt1 = Alt-Text Bild 1 | | alt1 = Alt-Text Bild 1 | ||
| alt2 = Alt-Text Bild 2 | | alt2 = Alt-Text Bild 2 | ||
| bildtext = ''Beschreibungstext | | bildtext = ''Beschreibungstext'' | ||
| bildbreite = 150 | | bildbreite = 150 | ||
| breite = 320 | | breite = 320 | ||
| Zeile 22: | Zeile 22: | ||
'''Parameter:''' | '''Parameter:''' | ||
* '''bild1 / bild2''' — Dateinamen (Pflicht) | * '''bild1 / bild2''' — Dateinamen (Pflicht) | ||
* '''alt1 / alt2''' — Alt-Text | * '''alt1 / alt2''' — Alt-Text (optional) | ||
* '''bildtext''' — gemeinsame Bildunterschrift | * '''bildtext''' — gemeinsame Bildunterschrift (optional) | ||
* '''bildbreite''' — Breite je Einzelbild in px (Standard: 150) | * '''bildbreite''' — Breite je Einzelbild in px (Standard: 150) | ||
* '''breite''' — Gesamtbreite des Panels in px (Standard: 320) | * '''breite''' — Gesamtbreite des Panels in px (Standard: 320) | ||
* '''seite''' — left oder right (Standard: right) | * '''seite''' — left oder right (Standard: right) | ||
</noinclude> | </noinclude> | ||
Aktuelle Version vom 2. August 2026, 01:06 Uhr
Verwendung
{{Infopanel_2Bilder
| bild1 = Dateiname1.png
| bild2 = Dateiname2.png
| alt1 = Alt-Text Bild 1
| alt2 = Alt-Text Bild 2
| bildtext = ''Beschreibungstext''
| bildbreite = 150
| breite = 320
| seite = right
}}
Parameter:
- bild1 / bild2 — Dateinamen (Pflicht)
- alt1 / alt2 — Alt-Text (optional)
- bildtext — gemeinsame Bildunterschrift (optional)
- bildbreite — Breite je Einzelbild in px (Standard: 150)
- breite — Gesamtbreite des Panels in px (Standard: 320)
- seite — left oder right (Standard: right)