Difference between revisions of "Template:News"

From Earth Science Information Partners (ESIP)
Line 144: Line 144:
  
 
--><div class="my-3">
 
--><div class="my-3">
{{{News body|}}}{{#set: News announce={{#sub: {{{News body|}}}|0|{{#var: announce_length}}}} }}
+
{{{News body|}}}{{#set: News announce={{#sub: {{{News body|}}}|0|{{#if:{{#var: announce_length}}|{{#var: announce_length}}|200}}}} }}
 
</div><!--
 
</div><!--
  

Revision as of 09:56, July 17, 2020