Vorlage:Buchbox: Unterschied zwischen den Versionen
Aus WikiToYes
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<div style="display:flex; margin:0; padding:0; border: | <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) --> | ||
<div style="flex:0 0 400px; margin:0; padding:0; background:none;"> | <div style="flex:0 0 400px; margin:0; padding:0; background:none;"> | ||
[[Datei:Home-fachbuch.png|400px|class=img-responsive]] | |||
</div> | </div> | ||
<!-- Metadaten + TOC- | <!-- Metadaten + TOC-Lösung --> | ||
<div style="flex:1; margin: | <div style="flex:1; margin-left:10px; padding:0; background:none;"> | ||
<!-- Standortangaben (1-zeilig) --> | <!-- Standortangaben (1-zeilig) --> | ||
<div style="margin:0; padding: | <div style="margin:0; padding:0; font-size:0.9em; line-height:1.2; background:none;"> | ||
'''Standort:''' [[Kategorie:Technik]] • [[Buch::Handbuch]] • | '''Standort:''' [[Kategorie:Technik]] • [[Buch::Handbuch]] • '''Version:''' 2.3 | ||
</div> | </div> | ||
<!-- TOC als | <!-- TOC als gekürzte Liste mit "Mehr"-Button --> | ||
<div style="margin: | <div style="margin-top:5px; background:none;"> | ||
<div id="compact-toc" style="display:block; max-height:calc(400px - 30px); overflow:hidden;"> | |||
__TOC__ | |||
</div> | |||
<button | <button | ||
onclick="document.getElementById('toc | type="button" | ||
style="background: | onclick="document.getElementById('compact-toc').style.maxHeight='none';this.style.display='none';" | ||
style="background:none; border:1px solid #ccc; padding:2px 8px; margin-top:3px; cursor:pointer;" | |||
> | > | ||
Mehr anzeigen ▼ | |||
</button> | </button> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- Horizontale | <!-- Horizontale Trennlinie --> | ||
<hr style="margin:3px 0; | <hr style="margin:3px 0; height:1px; background:#ddd; border:none;"> | ||
Version vom 16. Juli 2025, 09:38 Uhr
Standort: • Handbuch • Version: 2.3
<button
type="button"
onclick="document.getElementById('compact-toc').style.maxHeight='none';this.style.display='none';"
style="background:none; border:1px solid #ccc; padding:2px 8px; margin-top:3px; cursor:pointer;"
>
Mehr anzeigen ▼
</button>