Template:Temporary prevention of automatic archiving/doc: Difference between revisions

From TestWiki
Content added Content deleted
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:


== Usage ==
== Usage ==
{{tlsx|Bump|''number of days to prevent the thread from archiving''|''additional note''}}
{{tlsx|Temporary prevention of automatic archiving|''number of days to prevent the thread from archiving''|''additional note''}}


=== Parameters ===
=== Parameters ===
Line 26: Line 26:
=== Examples ===
=== Examples ===
Basic usage:
Basic usage:
* {{code|<nowiki>{{subst:Bump}}</nowiki>}} → [[Image:Pictogram voting wait.svg|14px|link=|alt=]] {{small|'''Bumping thread'''. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- Template:Bump --><!-- [[User:DoNotArchiveUntil]] 09:45, 18 January 2013 (UTC) -->
* {{code|<nowiki>{{subst:Temporary prevention of automatic archiving}}</nowiki>}} → [[Image:Pictogram voting wait.svg|14px|link=|alt=]] {{small|'''Bumping thread'''. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- Template:Bump --><!-- [[User:DoNotArchiveUntil]] 09:45, 18 January 2013 (UTC) -->
Changing number of days:
Changing number of days:
* {{code|<nowiki>{{subst:Bump|7}}</nowiki>}} → [[Image:Pictogram voting wait.svg|14px|link=|alt=]] {{small|'''Bumping thread'''{{space}}for 7 days. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- Template:Bump --><!-- [[User:DoNotArchiveUntil]] 09:45, 18 January 2013 (UTC) -->
* {{code|<nowiki>{{subst:Temporary prevention of automatic archiving|7}}</nowiki>}} → [[Image:Pictogram voting wait.svg|14px|link=|alt=]] {{small|'''Bumping thread'''{{space}}for 7 days. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- Template:Bump --><!-- [[User:DoNotArchiveUntil]] 09:45, 18 January 2013 (UTC) -->
Specifying default number of days to force template to spell it out:
Specifying default number of days to force template to spell it out:
* {{code|<nowiki>{{subst:Bump|30}}</nowiki>}} → [[Image:Pictogram voting wait.svg|14px|link=|alt=]] {{small|'''Bumping thread'''{{space}}for 30 days. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- Template:Bump --><!-- [[User:DoNotArchiveUntil]] 09:45, 19 December 2012 (UTC) -->
* {{code|<nowiki>{{subst:Temporary prevention of automatic archiving|30}}</nowiki>}} → [[Image:Pictogram voting wait.svg|14px|link=|alt=]] {{small|'''Bumping thread'''{{space}}for 30 days. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- Template:Bump --><!-- [[User:DoNotArchiveUntil]] 09:45, 19 December 2012 (UTC) -->
Supplying a second sentence:
Supplying a second sentence:
* {{code|<nowiki>{{subst:Bump|note=Operator is making changes.}}</nowiki>}} → <br>[[File:Pictogram voting wait.svg|14px|link=|alt=]] {{Small|1='''Bumping thread'''. Operator is making changes. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- [[Template:Bump]] --><!-- [[User:DoNotArchiveUntil]] 04:45, 24 October 2029 (UTC) -->{{User:ClueBot III/DoNotArchiveUntil|1887511510}}
* {{code|<nowiki>{{subst:Temporary prevention of automatic archiving|note=Operator is making changes.}}</nowiki>}} → <br>[[File:Pictogram voting wait.svg|14px|link=|alt=]] {{Small|1='''Bumping thread'''. Operator is making changes. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- [[Template:Bump]] --><!-- [[User:DoNotArchiveUntil]] 04:45, 24 October 2029 (UTC) -->{{User:ClueBot III/DoNotArchiveUntil|1887511510}}
Using both parameters:
Using both parameters:
* {{code|<nowiki>{{subst:Bump|7|Operator is making changes.}}</nowiki>}} → <br>[[File:Pictogram voting wait.svg|14px|link=|alt=]] {{Small|1='''Bumping thread'''{{space}}for 7 days. Operator is making changes. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- [[Template:Bump]] --><!-- [[User:DoNotArchiveUntil]] 04:45, 24 October 2029 (UTC) -->{{User:ClueBot III/DoNotArchiveUntil|1887511510}}
* {{code|<nowiki>{{subst:Temporary prevention of automatic archiving|7|Operator is making changes.}}</nowiki>}} → <br>[[File:Pictogram voting wait.svg|14px|link=|alt=]] {{Small|1='''Bumping thread'''{{space}}for 7 days. Operator is making changes. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:45, 19 December 2012 (UTC)}} <!-- [[Template:Bump]] --><!-- [[User:DoNotArchiveUntil]] 04:45, 24 October 2029 (UTC) -->{{User:ClueBot III/DoNotArchiveUntil|1887511510}}


== See also ==
== See also ==

Latest revision as of 02:06, 10 August 2020

Purpose[edit]

"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]

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]

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

Parameters[edit]

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]

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]

Template:Inline talk templates