Changes

Jump to navigation Jump to search
include
{{documentation subpage}}

This template can be used to show one of two messages, depending whether or not the current hour is before or not before a specified hour.

=== Usage ===
:<code><nowiki>{{before hour|</nowiki> ''hour'' <nowiki>| before message | not before message }}</nowiki></code>

=== Examples ===

UTC: {{CURRENTTIME}}

1: {{before hour|1|before|on or after}}

7: {{before hour|7|before|on or after}}

20: {{before hour|20|before|on or after}}

<includeonly>
[[Category:Date-computing templates based on current time]]
</includeonly>
Anonymous user

Navigation menu