Template:Temporary prevention of automatic archiving/doc

From TestWiki

Purpose[edit source]

"Bumping" a discussion thread - avoiding its automatic archival for (default) 30 days.

This template will delay the archive of threads that will be automatically archived by Revibot for the period of time you entered it in the template.

Effect[edit source]

This is a wrapper for the invisible template {{do not archive until}} that is used to prevent bots archiving a discussion thread, changing the default number of days until auto-archival to 30. It produces a visible message that the thread has been bumped. It will auto-sign the notification.

After 30 days (or however many days were specified) the thread (including the bump message) will once more be eligible for auto-archival. Whether it will actually archive at that point or not depends on the automatic archival settings specific to the page.

Usage[edit source]

{{subst:Temporary prevention of automatic archiving|number of days to prevent the thread from archiving|additional note}}

Parameters[edit source]

The template takes two optional parameters.

The first integer parameter specifies the minimum number of days before archiving. Supplying this parameter does two things:

a. it overrides the default of 30 days (not 3560 days, the default of the underlying {{do not archive until}} template)
b. it specifies the number of days in the message (if the parameter is omitted, the template will not output a number of days)

While the underlying {{do not archive until}} template accepts different units than days (hours, weeks, etc) this template deals only in days.

The second text parameter allows for extra text to be output as a second sentence, after the main text. As an example perhaps an explanation for why the bump occurs. You can set it independently of the first parameter with |2= or |note=.

Examples[edit source]

Basic usage:

  • {{subst:Temporary prevention of automatic archiving}} Bumping thread. Example (talk) 09:45, 19 December 2012 (UTC)

Changing number of days:

  • {{subst:Temporary prevention of automatic archiving|7}} Bumping threadTemplate:Spacefor 7 days. Example (talk) 09:45, 19 December 2012 (UTC)

Specifying default number of days to force template to spell it out:

  • {{subst:Temporary prevention of automatic archiving|30}} Bumping threadTemplate:Spacefor 30 days. Example (talk) 09:45, 19 December 2012 (UTC)

Supplying a second sentence:

Using both parameters:

See also[edit source]

Template:Inline talk templates