Template:Event banners: Difference between revisions

m
rearrange sections
m (→‎Advanced trick: rearrange clauses)
m (rearrange sections)
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 [[#AdvancedIntentionally trickputting an event out of order|not display when you want them to]].
 
== Optional Parameters ==
Line 78:
* '''labelstyle''': Styling for this Infobox's labels
 
== OverridesAdvanced usage ==
These following "features" may require advanced knowledge of how Infoboxes and how this template works to be used properly. Explaining these goes beyond the scope of this documentation, and so only minimum documentation is provided – only intended to show that these features exist.
 
=== Overrides ===
{{Hololive Fan Wiki:Event Banners
| August 15, 9999 23:59:59
Line 101 ⟶ 104:
 
<div style="clear:both;">
 
=== Intentionally putting an event out of order ===
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. This trick works by exploiting the template's logic and there's a high potential for messing this up, so don't do this unless you know what you're doing.
 
== 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 ==
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. This trick works by exploiting the template's logic and there's a high potential for messing this up, so don't do this unless you know what you're doing.
</noinclude>