Vorlage:Mediatorenkoffer: Unterschied zwischen den Versionen
Aus WikiToYes
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<noinclude>{{Dokumentation}}</noinclude> | |||
<includeonly> | <includeonly> | ||
<!-- | <hr style="margin: 0;"> | ||
<div | <div class="container-fluid px-0"> | ||
{{# | <div class="row align-items-center g-0"> | ||
<!-- Linke Spalte: Buchcover --> | |||
<div class="col-md-4"> | |||
{{#if:{{{Übergeordnete_Seite| | <div class="p-0 m-0"> | ||
[[Datei:Home-hand-transparent.png|frameless|500px|link=Buch:{{#show:{{FULLPAGENAME}}|?Gehört_zu_Buch|link=none}}]] | |||
</div> | |||
{{# | </div> | ||
<!-- Rechte Spalte: Navigation + TOC --> | |||
<div class="col-md-8"> | |||
<div class="ps-3"> | |||
<!-- Buchnavigation --> | |||
<div style="background:#f8f9fa; border-radius:8px; padding:12px; margin-bottom:15px"> | |||
<div style="display:flex; gap:15px; flex-wrap:wrap"> | |||
<!-- Buchhierarchie --> | |||
<div style="flex:1; min-width:200px"> | |||
<h4 style="margin-top:0">Buchposition</h4> | |||
<div style="font-size:0.95em"> | |||
<div>Buch: {{#show:{{FULLPAGENAME}}|?Gehört_zu_Buch}}</div> | |||
{{#if:{{#show:{{FULLPAGENAME}}|?Übergeordnete_Seite|link=none}}| | |||
<div>Kapitel: {{#show:{{FULLPAGENAME}}|?Übergeordnete_Seite}}</div> | |||
}} | |||
<div>Dieser Beitrag: <strong>{{FULLPAGENAME}}</strong></div> | |||
{{#if:{{#show:{{FULLPAGENAME}}|?Weiterlesen|link=none}}| | |||
<div>Weiter: {{#show:{{FULLPAGENAME}}|?Weiterlesen}}</div> | |||
}} | |||
</div> | |||
</div> | |||
<!-- Unterkapitel --> | |||
<div style="flex:1; min-width:200px"> | |||
<h4 style="margin-top:0">Unterkapitel</h4> | |||
{{#ask:[[Übergeordnete_Seite::{{FULLPAGENAME}}]] | |||
|format=ul | |||
|sort= Sortierwert | |||
|default=<small style="color:#666">Keine Unterkapitel</small> | |||
}} | |||
</div> | |||
</div> | |||
</div> | |||
<!-- Inhaltsverzeichnis --> | |||
<div id="fade-toc" class="toc-fade" style="max-height: 400px; overflow-y: auto;"> | |||
__TOC__ | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | </div> | ||
<hr style="margin: 0;"> | |||
<!-- CSS für responsive Anpassungen --> | |||
</includeonly> | </includeonly> | ||