ವಿಷಯಕ್ಕೆ ಹೋಗು

ಟೆಂಪ್ಲೇಟು:Archive basics/doc

ವಿಕಿಪೀಡಿಯದಿಂದ, ಇದು ಮುಕ್ತ ಹಾಗೂ ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ

This template is used to provide an archive name and counter number to Technical 13's (Original by Equazcion) OneClickArchiver (Original) script, on pages where a {{User:MiszaBot/config}} configuration doesn't exist, or does not contain a numeric counter. This template and OneClickArchiver work with archives that end with a number. It does not work with archives that do not end in a number (e.g. archives organized by year/month).

Example 1:

{{Archive basics
|archive = User talk:Username/Archive %(counter)d
|counter = 4
}}

Example 2 if you want to cut & paste for numbered archives:

{{Archive basics
|archive = {{SAFESUBST:#titleparts:{{SAFESUBST:FULLPAGENAME}}}}/Archive %(counter)d
|counter = 1
}}

Because User:Equazcion/OneClickArchiver.js is extremely sensitive for case and spaces and some people haven't yet upgraded to the version that doesn't care about case and spacing, there is a shortcut template to make it even easier for you to apply this. Simply change the number "1" to whatever number you want to start with for a counter number:

{{SAFESUBST:Oca|1}}
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Archive basics in articles based on its TemplateData.

TemplateData for Archive basics

No description.

Template parameters

ಪರಿಮಿತಿವಿವರನಮೂನೆಸ್ಥಾನಮಾನ
archivearchive

WikiPath to where you want the archives stored.

Stringrequired
countercounter

This is what numbered archive the OneClickArchiver will archive to. If you are archiving at User talk:Example/Archive 1, for example, this parameter must be set at 1. Otherwise, the OneClickArchiver will archive to the wrong page.

ಸಂಖ್ಯೆrequired
maxsizemaxsize maxarchivesize

Size at which a "nag" notice will show up on page letting users know that the size of the current archive (defined by archive and counter parameters) is above and to suggest that the archive be incremented.

ಮೂಲಸ್ಥಿತಿ
153600
ಸಂಖ್ಯೆಐಚ್ಛಿಕ