Zum Inhalt springen

Formular:Da25: Unterschied zwischen den Versionen

Aus wiki4life
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Zeile 8: Zeile 8:
<div id="wikiPreview" style="display:none; padding-bottom:25px; margin-bottom:25px; border-bottom:1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display:none; padding-bottom:25px; margin-bottom:25px; border-bottom:1px solid #AAAAAA;"></div>


<div style="float:right; width:260px; margin:0 0 20px 20px;">
<div style="float:right; width:280px; margin:0 0 20px 20px;">
   <div style="background-color:#f8f8f8; border:1px solid #ccc; border-radius:10px; padding:15px; text-align:center; box-shadow:0 1px 3px rgba(0,0,0,0.08);">
   <div style="background-color:#f8f8f8; border:1px solid #ccc; border-radius:10px; padding:15px; text-align:center; box-shadow:0 1px 3px rgba(0,0,0,0.08);">


Zeile 14: Zeile 14:
     <div style="font-weight:bold; margin-bottom:14px;">Füge dein Bild hinzu</div>
     <div style="font-weight:bold; margin-bottom:14px;">Füge dein Bild hinzu</div>


     <!-- Größeres Upload-Feld -->
     <!-- Uploadfeld mit Vollbild-Vorschau -->
     <div style="display:flex; justify-content:center; align-items:center; height:260px; background-color:#fff; border:1px solid #ddd; border-radius:8px;">
     <div style="position:relative; width:100%; height:300px; border:1px solid #ddd; border-radius:8px; background-color:#fff; overflow:hidden; display:flex; justify-content:center; align-items:center;">
      {{{field|Bild|input type=upload|uploadable|mandatory}}}
     
      <!-- hochgeladenes Bild füllt gesamte Box -->
      {{#if: {{{Bild|}}} |
        [[File:{{{Bild}}}|280px|center|class=bildbox-vorschau]]
      }}
     
      <!-- Uploadfeld bleibt sichtbar -->
      <div style="position:absolute; bottom:10px; width:100%; display:flex; flex-direction:column; gap:6px; align-items:center;">
        {{{field|Bild|input type=upload|uploadable|mandatory}}}
      </div>
 
     </div>
     </div>



Version vom 16. Oktober 2025, 12:13 Uhr

Wie wollen Sie Ihre Seite nennen?