فرما:Auto-archive/دَستاویز

وِکیٖپیٖڈیا پؠٹھٕ، اَکھ آزاد اِنسایکلوپیٖڈیا

This template is used to set up the user:cewbot for automatic archiving. The robot runs the program once a day.

اِستِمال[اؠڈِٹ]

یہِ فرما گَژھہِ سود صَفَن مَنٛز اِستِمال کَرنہٕ یُن، اَمُک مَطلب چھُ یہِ گَژھہِ تَتھ صَفَس مَنٛز اِستِمال کَرنہٕ یُن یَمِک بَحَث مَحفوٗظ آسہِ کَرٕنی. سَرنامَس مَنٛز گَژھہِ نہٕ یہِ اِستِمال کَرنہٕ یُن تِکیٛازٕ تَمہِ سٲتؠ گَژھہِ سَرنامہ وول صَفہٕ آرکائیو، سُہ صَفہٕ نہٕ کیٚنٛہہ یَتھ مَنٛز سَرنامہ شٲمِل آسہِ.

It is usually presented as {{Auto-archive}}, {{Auto-archive|...}}.

Example[اؠڈِٹ]

{{Auto-archive}}
Archive discussions that no one has responded to in a week.
{{Auto-archive|archive_after_last_comment=1m}}
Archive discussions that no one has responded to in a month.
{{Auto-archive|archive_to_subpage=Archive %Y-%2m}}
Archive to the subpage using the pattern by year and month.

Notes[اؠڈِٹ]

  • If the robot fails to write to the archive page, the original discussion will not be deleted.

How to avoid being archived[اؠڈِٹ]

You can use {{Pin message}}.

TemplateData[اؠڈِٹ]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Auto-archive in articles based on its TemplateData.

TemplateData for Auto-archive

Configurations for robot archiving discussions

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Length of timearchive_after_last_comment

Archive discussions that no one has responded to in this time.

Default
1 week
Example
"7d", "7 days", "1w", "1 week", "1m", "1 month"
Dateoptional
Archive to which subpagearchive_to_subpage

If this parameter is not set, the robot will automatically detect the name and the latest index of the subpage. If there is no such page, a new one will be created. It is recommended to use auto-detection so that you can skip to the next number when the archive page is too large. The "%1" will be replaced by the latest index. There is always only "%1", there is no "%2".

Default
Archive %1
Example
Archive %1
Page nameoptional
Archiving chapter levelsection_level

Generally archiving level 2 chapters

Default
2
Example
3
Numberoptional