Vorlage:Artikel:Start:Full: Unterschied zwischen den Versionen
Aus Afterbuy-Wiki
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 3: | Zeile 3: | ||
{{#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-right p-0 m-0" id="tableinhalt"></div> }} | + | {{#ifeq: {{{toc|ja}}} | ja | <div class="pr-2 mr-2 border-right border-right p-0 m-0 d-none" id="tableinhalt"></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> | ||
Zeile 10: | Zeile 10: | ||
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>}} |
Version vom 2. August 2021, 07:37 Uhr
Titel