Vorlage:Artikel:Start:Full: Unterschied zwischen den Versionen
Aus Afterbuy-Wiki
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | __FORCETOC__ __NOTITLE__ {{SEO|seopage={{SITENAME}} - {{{title|Titel}}} }} | + | {{Hide| |
− | <div class="h1 border-bottom border-secondary"><span class="mw-headline">{{{title|Titel}}}</span></div> | + | __FORCETOC__ |
+ | __NOTITLE__ | ||
+ | {{SEO|seopage={{SITENAME}} - {{{title|Titel}}} }} | ||
+ | }} | ||
+ | {{HeadCrumb|{{{parents|}}}}}<div class="h1 border-bottom border-secondary"><span class="mw-headline">{{{title|Titel}}}</span></div> | ||
{{#ifeq:{{{text|text}}}|text| | | {{#ifeq:{{{text|text}}}|text| | | ||
<div class="d-flex align-items-stretch justify-content-start"> | <div class="d-flex align-items-stretch justify-content-start"> | ||
− | {{#ifeq: {{{toc|ja}}} | ja | <div class="pr-2 mr-2 border-right border- | + | {{#ifeq: {{{toc|ja}}} | ja | <div class="pr-2 mr-2 border-right border-secondary p-0 m-0 d-none overflow-hidden" id="tableinhalt" style="min-width:33%; max-width:33%"></div> }} |
<div class="flex-fill justify-content-start text-left">{{{text|titeltext}}}</div> | <div class="flex-fill justify-content-start text-left">{{{text|titeltext}}}</div> | ||
</div> | </div> | ||
<html><script> | <html><script> | ||
− | let toc=document.getElementById('toc').querySelector(' | + | let toc=document.getElementById('toc').querySelector('ul').innerHTML.trim(); |
if(toc!=""){ | if(toc!=""){ | ||
document.getElementById('tableinhalt').innerHTML='<div class="toc" id="toc"><ul>'+toc+'</ul></div>'; | document.getElementById('tableinhalt').innerHTML='<div class="toc" id="toc"><ul>'+toc+'</ul></div>'; | ||
− | + | document.getElementById('tableinhalt').classList.remove("d-none"); | |
− | document.getElementById('tableinhalt'). | ||
}</script></html>}} | }</script></html>}} |
Aktuelle Version vom 12. Mai 2022, 14:26 Uhr
Titel