Changes
Jump to navigation
Jump to search
category
{{Documentation subpage}}
*'''Syntax''': <code>{{delayed | future date/time | text to show after expiration | text to show before expiration}}</code>
** Text to show before/after may be omitted, but the date/time stamp must be given.
** Date/timestamp is in any format accepted by the {{#date}} ParserFunction, such as YYYY-MM-DD HH:MM.
*'''Examples'''
** <code>{{delayed|{{#time:Y-m-d|-2 days}}|foo|bar}}</code> displays <code>foo</code>
** <code>{{delayed|{{#time:Y-m-d|+0 days}}|foo|bar}}</code> displays <code>{{delayed|{{#time:Y-m-d|+0 days}}|foo|bar}}</code> (today's date)
** <code>{{delayed|{{#time:Y-m-d|+2 days}}|foo|bar}}</code> displays <code>bar</code>
** <code>{{delayed|{{#time:Y-m-d|+5 days}}|2={{db-talk}}}}</code> displays nothing now, but will transclude {{tl|db-talk}} 5 days from now.
<includeonly>
[[Category:Time, date and calendar templates]]
</includeonly>
*'''Syntax''': <code>{{delayed | future date/time | text to show after expiration | text to show before expiration}}</code>
** Text to show before/after may be omitted, but the date/time stamp must be given.
** Date/timestamp is in any format accepted by the {{#date}} ParserFunction, such as YYYY-MM-DD HH:MM.
*'''Examples'''
** <code>{{delayed|{{#time:Y-m-d|-2 days}}|foo|bar}}</code> displays <code>foo</code>
** <code>{{delayed|{{#time:Y-m-d|+0 days}}|foo|bar}}</code> displays <code>{{delayed|{{#time:Y-m-d|+0 days}}|foo|bar}}</code> (today's date)
** <code>{{delayed|{{#time:Y-m-d|+2 days}}|foo|bar}}</code> displays <code>bar</code>
** <code>{{delayed|{{#time:Y-m-d|+5 days}}|2={{db-talk}}}}</code> displays nothing now, but will transclude {{tl|db-talk}} 5 days from now.
<includeonly>
[[Category:Time, date and calendar templates]]
</includeonly>