Template:Delayed/doc

From Nordic Larp Wiki
Jump to navigation Jump to search
  • 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|2024-05-10|foo|bar}} displays foo
    • {{delayed|2024-05-12|foo|bar}} displays foo (today's date)
    • {{delayed|2024-05-14|foo|bar}} displays bar
    • {{delayed|2024-05-17|2={{db-talk}}}} displays nothing now, but will transclude {{db-talk}} 5 days from now.