Vorlage:Artikel:Start:Full: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
 
(18 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__  
<table><tr>{{#ifeq: {{{toc|ja}}} | ja | <td width="33%" valign="top" id="tableinhalt"></td> }} <td valign="top">{{{text|titeltext}}}</td></tr></table>
+
__NOTITLE__  
<html>
+
{{SEO|seopage={{SITENAME}} - {{{title|Titel}}} }}
<script>
+
}}
  document.getElementById('tableinhalt').innerHTML=document.getElementById('inhalt').innerHTML;
+
{{HeadCrumb|{{{parents|}}}}}<div class="h1 border-bottom border-secondary"><span class="mw-headline">{{{title|Titel}}}</span></div>
</script>
+
{{#ifeq:{{{text|text}}}|text| |
</html>
+
<div class="d-flex align-items-stretch justify-content-start">
 +
{{#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>
 +
<html><script>
 +
let toc=document.getElementById('toc').querySelector('ul').innerHTML.trim();
 +
if(toc!=""){
 +
  document.getElementById('tableinhalt').innerHTML='<div class="toc" id="toc"><ul>'+toc+'</ul></div>';
 +
  document.getElementById('tableinhalt').classList.remove("d-none");
 +
}</script></html>}}

Aktuelle Version vom 12. Mai 2022, 14:26 Uhr


Titel