Difference between revisions of "Template:News"

From Earth Science Information Partners (ESIP)
Line 59: Line 59:
 
                 }}
 
                 }}
 
             }}
 
             }}
     |#default=Off
+
     |#default=Draft
 
   }}
 
   }}
 
}}
 
}}
Line 74: Line 74:
  
 
-->{{#switch: {{#var: status}}
 
-->{{#switch: {{#var: status}}
     |Off      =<span class="text-danger">Draft</span>
+
     |Draft =<span class="text-danger">Draft</span>
     |On       =<span class="text-success">Published</span>
+
     |On   =<span class="text-success">Published</span>
     |#default =<span class="text-muted">Expired</span>
+
     |Off  =<span class="text-muted">Expired</span>
 
   }} {{#switch: Yes
 
   }} {{#switch: Yes
 
         |{{{News is sticky|}}}
 
         |{{{News is sticky|}}}

Revision as of 16:49, July 21, 2020