Template:Do not archive until

From RationalWiki
(Redirected from Template:DNAU)
Jump to: navigation, search

[edit] [purge] Documentation

Usage

This template inserts a hidden page comment when it is substituted with a valid datetime in the future in it (use {{subst:DNAU}}). This prevents it from being archived by the Archive bot until the time substituted passes.

This template should only be substituted, it will not work when just transcluded.

You can use this template as follows:

  • {{subst:DNAU}} - to prevent a thread from being archived for a very long time (10 years).
  • {{subst:DNAU|200}} - to prevent a thread from being archived for 200 days.
  • {{subst:DNAU|47|weeks}} - to prevent a thread from being archived for 47 weeks.
  • {{subst:DNAU|2=hours}} - to prevent a thread from being archived for 3650 hours (close to 5 months).

Parameters

|1=, first unnamed parameter: number of units until autoarchival (default is 3650)
|2=, second unnamed parameter: type of unit (default is 'days'). All relative PHP unit formats are acceptable: 'sec', 'second', 'min', 'minute', 'hour', 'day', 'week', 'fortnight', 'month', 'year', and their respective plurals 'secs', 'seconds' etc.

See also

  • Template:bump - to visibly prevent a thread from being archived for 30 days.
  • Template:pin - to visibly prevent a thread from being archived forever.