Anonym

Vorlage:TopNews: Unterschied zwischen den Versionen

Aus Geoportal
 
(100 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<div class="topNews">
 
<div class="topNews">
−
<h2>{{{title|}}}</h2>
+
<h2 class="topNewsTitle">{{{title|}}}</h2>
−
<span><strong>{{{date|}}}</strong></span>
+
<span class="topNewsDate"><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>
−
 
  +
{{#if: {{{email|}}} |
−
<!-- Check if articleBody is provided -->
 
  ⚫
<span class="contact">Email: [mailto:{{{email|}}} {{{email|}}}]</span>
⚫
{{#if: {{{articleBody|}}} | <p class="articleBody">{{{articleBody}}}</p> }}
 
−
+
}}
−
<!-- Check if link and text are provided -->
 
−
{{#if: {{{link|}}} {{{text|}}} | <span class="external text"><strong>[{{{link}}} {{{text}}}]</strong></span> }}
 
−
 
−
<!-- Check if email is provided -->
 
⚫
{{#ifeq: {{{email|}}} | | | <span class="contact">Email: [mailto:{{{email}}} {{{email}}}]</span> }}
 
−
 
−
<hr>
 
 
</div>
 
</div>

Aktuelle Version vom 15. Februar 2024, 15:59 Uhr