Difference between revisions of "Template:News"

From Earth Science Information Partners (ESIP)
Line 58: Line 58:
 
####### STATUS #######
 
####### STATUS #######
  
--><i class="mr-2 fas fa-power-off" style="color:{{#switch: {{#var: status}}
+
-->{{#switch: {{#var: status}}
        |Off=firebrick
+
    |Off     =<span class="text-danger">Retired</span>
        |On=forestgreen
+
    |On       =<span class="text-success">Actual</span>
        |#default=gray
+
    |#default =<span class="text-muted">Retired</span>
      }}"></i> <!--
+
  }} <!--
  
 
####### STICKY #######
 
####### STICKY #######
  
 
-->{{#switch:{{{News is sticky|}}}
 
-->{{#switch:{{{News is sticky|}}}
     |Yes = <i class="mr-2 fas fa-thumbtack"></i>{{#set: News is sticky=true}}
+
     |Yes = <span class="text-muted">Sticky</span>{{#set: News is sticky=true}}
 
     |#default = {{#set: News is sticky=false}}
 
     |#default = {{#set: News is sticky=false}}
 
   }} <!--
 
   }} <!--
Line 74: Line 74:
  
 
-->{{#switch: {{{News repeat every year|}}}
 
-->{{#switch: {{{News repeat every year|}}}
     |Yes = <i class="mr-2 fas fa-calendar-day"></i>
+
     |Yes = <span class="text-muted">Recurring</span>
 
     |#default =  
 
     |#default =  
 
   }}</p><!--
 
   }}</p><!--

Revision as of 09:20, July 17, 2020