<$ var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) {cssClass = "linkcard-1 " + cssClass;} else {cssClass = "linkcard-1";} if ( inlineCss ) {inlineCss = ' style="' + inlineCss + '"';} var BreiteCard = article.value('breite-card', ''); var MinH = article.value('min-hoehe', ''); var BorderPx = article.value('border-px', ''); var BorderColor = article.value('border-color', ''); var HgColor = article.value('hg-color', ''); var AusrText = article.value('ausr-text', ''); var cssselector = '.WZP-Artikel_' + article.id + '.linkcard-1 '; var headstyle = ""; if ( BreiteCard !== "" ){headstyle += cssselector + "{max-width: " + BreiteCard + "px !important;}\n";} if ( MinH !== "" ){headstyle += cssselector + "{min-height: " + MinH + "px !important;}\n";} if ( BorderPx !== "" ){headstyle += cssselector + "{border-width: " + BorderPx + "px !important;}\n";} if ( BorderColor !== "" ){headstyle += cssselector + "{border-color: " + BorderColor + " !important;}\n";} if ( HgColor !== "" ){headstyle += cssselector + "{background-color: " + HgColor + " !important;}\n";} if ( AusrText !== "" ){headstyle += cssselector + "{text-align: " + AusrText + " !important;}\n";} system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) {cssClass = "linkcard-1 h3 " + cssClass;} else {cssClass = "linkcard-1 h3";} if ( inlineCss ) {inlineCss = ' style="' + inlineCss + '"';} var GrH3 = article.value('gr-h3', ''); var FontWH3 = article.value('font-w-h3', ''); var FontColorH3 = article.value('font-color-h3', ''); var cssselector = '.WZP-Artikel_' + article.id + '.linkcard-1 h3 '; var headstyle = ""; if ( GrH3 !== "" ){headstyle += cssselector + "{font-size: " + GrH3 + "em !important;}\n";} if ( FontWH3 !== "" ){headstyle += cssselector + "{font-weight: " + FontWH3 + " !important;}\n";} if ( FontColorH3 !== "" ){headstyle += cssselector + "{color: " + FontColorH3 + " !important;}\n";} system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) {cssClass = "linkcard-1 p " + cssClass;} else {cssClass = "linkcard-1 p";} if ( inlineCss ) {inlineCss = ' style="' + inlineCss + '"';} var GrP = article.value('gr-p', ''); var FontWP = article.value('font-w-p', ''); var FontColorP = article.value('font-color-p', ''); var cssselector = '.WZP-Artikel_' + article.id + '.linkcard-1 p '; var headstyle = ""; if ( GrP !== "" ){headstyle += cssselector + "{font-size: " + GrP + "em !important;}\n";} if ( FontWP !== "" ){headstyle += cssselector + "{font-weight: " + FontWP + " !important;}\n";} if ( FontColorP !== "" ){headstyle += cssselector + "{color: " + FontColorP + " !important;}\n";} system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$=system.partial("article-begin.html")$>
" class="<$= article.value("breite-widget") $> cont-linkcard-1"> <$ for ( var i = 1; i <= 9; i++){ var image = project.getImage(article.value("bild" + i)); if ( isNull(image) ){ continue; } var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var beschreibung = image.description; var title = system.htmlEncode(system.removeHtmlTags(image.description)); var imgsrc = image.contentCopyPath; var fullsrc = image.workingCopyPath; var head3 = article.value("h3-" + i, ""); var linkname = "link-" + i; $> >
<$= altText $>

<$= head3 $>

<$ } $>
<$=system.partial("article-end.html")$>