Template:Event banners: Difference between revisions

Document newly discovered advanced trick
No edit summary
(Document newly discovered advanced trick)
Line 59:
 
==== WARNING: ====
Make sure you add events in chronological order. Though this template automatically hides/shows events as time passes, it is '''''NOT''''' smart enough to sort events by time. If you add events out of order, they will [[#Advanced trick|not display when you want them to]].
 
== Optional Parameters ==
Line 103:
== Considerations ==
Because the MediaWiki software uses extensive caching, your scheduled content '''will not update immediately''' upon reaching the scheduled time. If you're impatient, use [[Special:Purge]] on the target page to flush the server's cache and force the page to update.
 
== Advanced trick ==
This trick works by exploiting the template's logic. If you want to ''intentionally'' put one event out of order, for whatever reason, and scheduling is enabled, you can safely do so provided that there are no more than <code>maxevents - 1</code> events in between the out-of-order event and its expiration date. Anyways, there's a high potential for messing this up, so don't do this unless you know what you're doing.
</noinclude>