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|}}}]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#switch: {{{Repeat every year|}}} | {{#switch: {{{Repeat every year|}}} | ||
Line 68: | Line 61: | ||
####### STICKY ####### | ####### STICKY ####### | ||
− | -->{{#switch:{{{ | + | -->{{#switch:{{{News is sticky|}}} |
− | |Yes = <i class="mr-2 fas fa-thumbtack"></i>{{#set: | + | |Yes = <i class="mr-2 fas fa-thumbtack"></i>{{#set: News is sticky=true}} |
− | |#default = {{#set: | + | |#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[ | + | |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[ | + | |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[ | + | |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 |