Difference between revisions of "Template:Delayed"
Jump to navigation
Jump to search
imported>MZMcBride m (switching template, Replaced: {{sprotected2}} → {{pp-semi-protected|small=yes}} using AWB) |
imported>RussBot m (Robot: moving pages out of redirected category) |
||
| Line 2: | Line 2: | ||
{{template doc}} | {{template doc}} | ||
| − | [[Category: | + | [[Category:Wikipedia formatting and function templates|Delayed]] |
{{pp-semi-protected|small=yes}} | {{pp-semi-protected|small=yes}} | ||
</noinclude> | </noinclude> | ||
Revision as of 07:26, 1 September 2008
- 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-01-12|foo|bar}}displaysfoo{{delayed|2026-01-14|foo|bar}}displaysfoo(today's date){{delayed|2026-01-16|foo|bar}}displaysbar{{delayed|2026-01-19|2={{db-talk}}}}displays nothing now, but will transclude {{db-talk}} 5 days from now.
| The above documentation is transcluded from Template:Delayed/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |