Difference between revisions of "Template:News"

From Earth Science Information Partners (ESIP)
m (1 revision imported: import of News structure elements)
Line 4: Line 4:
 
[[Category:News]]
 
[[Category:News]]
 
[[News feed::{{{News feed|}}}]]
 
[[News feed::{{{News feed|}}}]]
[[Category:{{{News feed|}}}]]
 
 
{{#set:
 
|News Action={{{Actions|}}}|+sep=;
 
|News Measure={{{Measures|}}}|+sep=;
 
|News Team={{{Teams|}}}|+sep=;
 
}}
 
  
 
{{#switch: {{{Repeat every year|}}}
 
{{#switch: {{{Repeat every year|}}}
Line 68: Line 61:
 
####### STICKY #######
 
####### STICKY #######
  
-->{{#switch:{{{Is sticky|}}}
+
-->{{#switch:{{{News is sticky|}}}
     |Yes = <i class="mr-2 fas fa-thumbtack"></i>{{#set: Is sticky=true}}
+
     |Yes = <i class="mr-2 fas fa-thumbtack"></i>{{#set: News is sticky=true}}
     |#default = {{#set: Is sticky=false}}
+
     |#default = {{#set: News is sticky=false}}
 
   }} <!--
 
   }} <!--
  
Line 92: Line 85:
 
     |News filter[Year]={{#urlget:News filter[Year]}}
 
     |News filter[Year]={{#urlget:News filter[Year]}}
 
     |News filter[News status]={{#urlget:News filter[News status]}}
 
     |News filter[News status]={{#urlget:News filter[News status]}}
     |News filter[Is sticky]={{#urlget:News filter[Is sticky]}}
+
     |News filter[News is sticky]={{#urlget:News filter[News is sticky]}}
 
     |News filter[Repeat every year]={{#urlget:News filter[Repeat every year]}}
 
     |News filter[Repeat every year]={{#urlget:News filter[Repeat every year]}}
 
     |_run=1
 
     |_run=1
Line 109: Line 102:
 
           |News filter[Year]={{#urlget:News filter[Year]}}
 
           |News filter[Year]={{#urlget:News filter[Year]}}
 
           |News filter[News status]={{#urlget:News filter[News status]}}
 
           |News filter[News status]={{#urlget:News filter[News status]}}
           |News filter[Is sticky]={{#urlget:News filter[Is sticky]}}
+
           |News filter[News is sticky]={{#urlget:News filter[News is sticky]}}
 
           |News filter[Repeat every year]={{#urlget:News filter[Repeat every year]}}
 
           |News filter[Repeat every year]={{#urlget:News filter[Repeat every year]}}
 
           |_run=1
 
           |_run=1
Line 129: Line 122:
 
     |News filter[Year]={{#var: year}}
 
     |News filter[Year]={{#var: year}}
 
     |News filter[News status]={{#urlget:News filter[News status]}}
 
     |News filter[News status]={{#urlget:News filter[News status]}}
     |News filter[Is sticky]={{#urlget:News filter[Is sticky]}}
+
     |News filter[News is sticky]={{#urlget:News filter[News is sticky]}}
 
     |News filter[Repeat every year]={{#urlget:News filter[Repeat every year]}}
 
     |News filter[Repeat every year]={{#urlget:News filter[Repeat every year]}}
 
     |_run=1
 
     |_run=1

Revision as of 03:13, July 17, 2020