Vorlage:Section3: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 2: Zeile 2:
 
<phptag>
 
<phptag>
 
$headline=3;
 
$headline=3;
 +
$headlineString=str_repeat('=',$headline);
 
$title='Titel';
 
$title='Titel';
 
$intent=$subintent=0;
 
$intent=$subintent=0;
Zeile 9: Zeile 10:
 
$intent=intval($argv['intent']);
 
$intent=intval($argv['intent']);
 
}
 
}
$out.='<div class="p-0 m-0 ml-{'.$intent.'">';
+
$out.='<div class="p-0 m-0 ml-'.$intent.'">';
 
if(isset($argv['title']) && trim($argv['title'])!=""){
 
if(isset($argv['title']) && trim($argv['title'])!=""){
 
$title=trim($argv['title']);
 
$title=trim($argv['title']);
 
}
 
}
$out.='<h'.$headline.'>'.$title;
+
$out.=chr(10).$headlineString.' '.$title;
 
if(isset($argv['subtitle']) && trim($argv['subtitle'])!=""){
 
if(isset($argv['subtitle']) && trim($argv['subtitle'])!=""){
 
$subtitle=trim($argv['subtitle']);
 
$subtitle=trim($argv['subtitle']);
 
$out.='<sub class="badge badge-pil badge-secondary p-1" style="font-size:9px;">'.$subtitle.'</sub>';
 
$out.='<sub class="badge badge-pil badge-secondary p-1" style="font-size:9px;">'.$subtitle.'</sub>';
 
}
 
}
$out.='</h'.$headline.'>';
+
$out.=' '.$headlineString.chr(10);
 
if(isset($argv['include']) && trim($argv['include'])!=""){
 
if(isset($argv['include']) && trim($argv['include'])!=""){
 
$include=trim($argv['include']);
 
$include=trim($argv['include']);

Aktuelle Version vom 31. August 2021, 12:11 Uhr

Titel[Bearbeiten]