Misplaced Pages

Template:Do not archive until/doc: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:Do not archive until Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 16:58, 10 May 2024 editNaomiAmethyst (talk | contribs)Edit filter managers, Extended confirmed users, Rollbackers, Template editors6,269 editsm Username change.← Previous edit Latest revision as of 12:21, 16 October 2024 edit undoKEmel49 (talk | contribs)Extended confirmed users2,822 edits Parameters: Dead link updatedTags: Mobile edit Mobile web edit Advanced mobile edit 
(One intermediate revision by one other user not shown)
Line 11: Line 11:


=== Tools that respect the code === === Tools that respect the code ===
* ]
* ] * ]
* {{U|MiszaBot}} (replaced by {{U|Lowercase sigmabot III}}) * {{U|MiszaBot}} (replaced by {{U|Lowercase sigmabot III}})
Line 34: Line 35:
====Parameters==== ====Parameters====
: {{para|1}}, first unnamed parameter: number of units until autoarchival (default is 3650) : {{para|1}}, first unnamed parameter: number of units until autoarchival (default is 3650)
: {{para|2}}, second unnamed parameter: type of unit (default is 'days'). All are acceptable: 'sec', 'second', 'min', 'minute', 'hour', 'day', 'week', 'fortnight', 'month', 'year', and their respective plurals 'secs', 'seconds' etc. : {{para|2}}, second unnamed parameter: type of unit (default is 'days'). All are acceptable: 'sec', 'second', 'min', 'minute', 'hour', 'day', 'week', 'fortnight', 'month', 'year', and their respective plurals 'secs', 'seconds' etc.


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

Latest revision as of 12:21, 16 October 2024

Shortcut
This is a documentation subpage for Template:Do not archive until.
It may contain usage information, categories and other content that is not part of the original template page.
This template should always be substituted (i.e., use {{subst:Do not archive until}}). Any accidental transclusions will be automatically substituted by a bot.

Use this template to prevent automatic (bot) archival of a given thread, either semi-permanently or for a specified number of days. Conventionally this template is used at the top of the thread, just under the header, but it may be placed anywhere in the thread.

This template works by placing a hidden HTML comment in the thread that contains a future date. The comment is invisible to users but visible to the archiving bots, and the bots will not archive the thread until that date is at least one archival period in the past. The comment can be seen when the page is edited, and looks like the following:
<!-- ] 23:32 30 December 2024 (UTC) -->{{User:ClueBot III/DoNotArchiveUntil|1735601573}}
Where the date used is determined by the parameters entered into the template or close to ten years in the future if no parameters were specified.

Tools that respect the code

Tools that do not respect the code

  • None known at this time.

Usage

This template must be substituted to work.

This template takes two parameters, both optional.

Use the first to specify the number of days to prevent the thread from archiving. if the parameter is omitted, the template will set the thread to archive in 3650 units (which for the default unit of "days" is close to 10 years, but not exactly due to leap years). Use the second to specify a different unit than days. To use this template, type in the following:

  • {{subst:DNAU}} - to prevent a thread from being archived for a very long time.
  • {{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).
  • {{subst:DNAU|1=10000|2=mins}} - to prevent a thread from being archived for 10000 minutes (almost 7 days).

Since not all pages are archived daily, the parameter should be read as the minimum number of days before thread is archived.

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

Templates for archiving
Recommended
Side box
Headers
With
navigation
Without
navigation
With
search
  • {{Talk header}} (contains an automatically appearing archive search box and nav)
Content
formatting
Lists
Discussion
Automatic
archiving
systems