Difference between revisions of "Template:News"
From Earth Science Information Partners (ESIP)
Line 58: | Line 58: | ||
####### STATUS ####### | ####### STATUS ####### | ||
− | --> | + | -->{{#switch: {{#var: status}} |
− | + | |Off =<span class="text-danger">Retired</span> | |
− | + | |On =<span class="text-success">Actual</span> | |
− | + | |#default =<span class="text-muted">Retired</span> | |
− | + | }} <!-- | |
####### STICKY ####### | ####### STICKY ####### | ||
-->{{#switch:{{{News is sticky|}}} | -->{{#switch:{{{News is sticky|}}} | ||
− | |Yes = < | + | |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 = < | + | |Yes = <span class="text-muted">Recurring</span> |
|#default = | |#default = | ||
}}</p><!-- | }}</p><!-- |