Difference between revisions of "Template:CheckUpcomingEvents"

From Openresearch
Jump to: navigation, search
m
m
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
}} -->
 
}} -->
  
{{#if: {{#ask: [[Category:Event]] [[Event in series::{{{1}}}]] [[End date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] | limit=1 | mainlabel=- }} |
+
{{#if: {{#ask: [[Event in series::{{{1}}}]] [[End date::>{{#time:Y-m-d}}]] | limit=1 | mainlabel=- }} | |
<!-- If there is a result (an upcoming event), output nothing -->
+
* [[{{{1}}}]] (no upcoming events: [[{{{1}}}_{{#time:Y}}]]  [[{{{1}}}_{{#time:Y|+1 year}}]])
|
 
* [[{{{1}}}]] has no upcoming events: [[{{{1}}}_{{#time:Y-m-d}}]]  [[{{{1}}}_{{#time:Y-m-d|+1 year}}]]
 
 
}}
 
}}

Latest revision as of 12:07, 23 June 2025