Difference between revisions of "Template:Bump/doc"

From blackwiki
Jump to navigation Jump to search
imported>CapnZapp
(polishing examples)
imported>CapnZapp
Line 27: Line 27:
 
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: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}}
 +
 +
== See also ==
 +
*[[Template:Pin section]] another wrapper for {{tl|do not archive until}}
  
 
{{Warchivenav}}
 
{{Warchivenav}}

Revision as of 12:07, 24 May 2020

Purpose

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

Usage

Template:Tlsx

Parameters

The template takes two optional parameters.

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

  1. it overrides the default of 30 days (not 3560 days, the default of the underlying {{do not archive until}} template)
  2. it specifies the number of days in the message (if the parameter is omitted, the template will not output a number of 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

Basic usage:

  • {{subst:Bump}} Bumping thread. Example (talk) 09:45, 19 December 2012 (UTC)

Changing number of days:

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

Supplying a second sentence:

Using both parameters:

See also

Template:Warchivenav