Vorlage:Buchbox: Unterschied zwischen den Versionen

Aus WikiToYes
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<html>
<div style="display:flex; margin:0; padding:0; border:none; line-height:1; background:none;">
<div style="display:flex; margin:0; padding:0; border:none; line-height:1; background:none;">
   <!-- Bild (400px, direkt am Rand) -->
   <!-- Bild (400px, direkt am Rand) -->
Zeile 4: Zeile 5:
     [[Datei:Home-fachbuch.png|400px|class=img-responsive]]
     [[Datei:Home-fachbuch.png|400px|class=img-responsive]]
   </div>
   </div>
 
 
   <!-- Metadaten + TOC-Lösung -->
   <!-- Metadaten + TOC-Lösung -->
   <div style="flex:1; margin-left:10px; padding:0; background:none;">
   <div style="flex:1; margin-left:10px; padding:0; background:none;">
Zeile 11: Zeile 12:
       '''Standort:''' [[Kategorie:Technik]] • [[Buch::Handbuch]] • '''Version:''' 2.3
       '''Standort:''' [[Kategorie:Technik]] • [[Buch::Handbuch]] • '''Version:''' 2.3
     </div>
     </div>
   
    <!-- TOC als gekürzte Liste mit "Mehr"-Button -->
  <div>
  <button class="btn btn-sm btn-outline-secondary mb-2" type="button" data-bs-toggle="collapse" data-bs-target="#toc-box">
    Inhaltsverzeichnis anzeigen / ausblenden
  </button>


  <div id="toc-box" class="collapse show" style="max-height:400px; overflow-y:auto;">
    <!-- TOC mit Toggle -->
    <div class="small">
    <div>
       __TOC__
      <button class="btn btn-sm btn-outline-secondary mb-2" type="button" data-bs-toggle="collapse" data-bs-target="#toc-box">
        Inhaltsverzeichnis anzeigen / ausblenden
      </button>
 
      <div id="toc-box" class="collapse show" style="max-height:400px; overflow-y:auto;">
        <div class="small">
          __TOC__
        </div>
       </div>
     </div>
     </div>
   </div>
   </div>
</div>
</div>


<!-- Horizontale Trennlinie -->
<!-- Horizontale Trennlinie -->
<hr style="margin:3px 0; height:1px; background:#ddd; border:none;">
<hr style="margin:3px 0; height:1px; background:#ddd; border:none;">
</html>

Version vom 16. Juli 2025, 09:46 Uhr

[[Datei:Home-fachbuch.png|400px|class=img-responsive]]
'''Standort:''' [[Kategorie:Technik]] • [[Buch::Handbuch]] • '''Version:''' 2.3
__TOC__