Vorlage:TopNews: Unterschied zwischen den Versionen

Aus Geoportal
Zeile 1: Zeile 1:
 
<div class="topNews">
 
<div class="topNews">
−
<h2>{{{title|}}}</h2>
+
<h2>{{{title|}}}</h2>
−
<span><strong>{{{date|}}}</strong></span>
+
<span><strong>{{{date|}}}</strong></span>
−
<span class="hiddenDuration" style="display:none;">{{{durationDays|}}}</span>
+
<span class="hiddenDuration" style="display:none;">{{{durationDays|}}}</span>
−
<p class="teaser">{{{teaser|}}}</p>
+
<p class="teaser">{{{teaser|}}}</p>
  +
⚫
<p class="articleBody">{{{articleBody|}}}</p>
 
  +
<!-- Check if articleBody is provided -->
⚫
<span class="external text"><strong>[{{{link|}}} {{{text|}}}]</strong></span>
 
  ⚫
{{#if: {{{articleBody|}}} | <p class="articleBody">{{{articleBody}}}</p> }}
−  
  +
⚫
<span class="contact">Email: [mailto:{{{email|}}} {{{email|}}}]</span>
 
  +
<!-- Check if link and text are provided -->
⚫
<hr>
 
  ⚫
{{#if: {{{link|}}} {{{text|}}} | <span class="external text"><strong>[{{{link}}} {{{text}}}]</strong></span> }}
  +
  +
<!-- Check if email is provided -->
  ⚫
{{#if: {{{email|}}} | <span class="contact">Email: [mailto:{{{email}}} {{{email}}}]</span> }}
  +
  ⚫
<hr>
 
</div>
 
</div>

Version vom 22. September 2023, 08:04 Uhr