Difference between revisions of "Template:Delayed/doc"
Jump to navigation
Jump to search
imported>Quarl («+"** Date/timestamp is in any format accepted by the {{#date}} ParserFunction, such as YYYY-MM-DD HH:MM:SS.", "display" → "transclude"») |
imported>Quarl («-":SS"») |
||
| Line 1: | Line 1: | ||
*'''Syntax''': <code>{{delayed | future date/time | text to show after expiration | text to show before expiration}}</code> | *'''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. | ** 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 | + | ** Date/timestamp is in any format accepted by the {{#date}} ParserFunction, such as YYYY-MM-DD HH:MM. |
*'''Examples''' | *'''Examples''' | ||
Revision as of 03:35, 9 March 2007
- Syntax:
{{delayed | future date/time | text to show after expiration | text to show before expiration}}- 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
{{delayed|2026-03-29|foo|bar}}displaysfoo{{delayed|2026-04-02|foo|bar}}displaysbar{{delayed|2026-04-05|2={{db-talk}}}}displays nothing now, but will transclude {{db-talk}} 5 days from now.