टेम्पलेट:Archives/doc: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Fru1tbat
छो added "search" parameter documentation
imported>Thumperward
update
लाइन 10:
{{archives
|archivelist=/archivelist
|auto=<short|long|no>
|index=/Archive index
|search=<yes|no>
लाइन 19:
; archivelist: Specifies a subpage containing the archive list. See "Archive list" below.
; index: Adds an "Index" link to the box title, to the specified subpage, which should be a subject index to all archived discussions. [[User:HBC Archive Indexerbot|HBC Archive Indexerbot]] can automatically generate such indexes.
; auto=<short|long|no>: Specifies the format of the auto-generated archive list. See "Archive list" below. If unspecified, the default is "long"; however any other word (such asexcept "yesno") will result in "short". "no" disabled auto-detection.
; search: If specified, the <tt>search</tt> parameter adds a search box to the template.
This template is based on the ''archive box'' template and the style modifications listed there should work. The target is limited to the archives of the talk page on which it is placed, which should be of the form "Archive 1", "Archive 2" and so on.
लाइन 33:
 
If you specify an archive list explicitly, the name of the subpage is changed, but otherwise, the behavior is the same.
 
Using "auto=no" will disable archive auto-detection. Manually specified archives will still be shown.
 
=== Additional notes ===
Line 40 ⟶ 42:
The auto-generated archive list requires subpages to use the common naming convention. That is, "./Archive 1", "./Archive 2", and so on. The letter "A" must be capitalized, there must be a single space between the word "Archive" and the number, and there must be no leading zeros. If archive subpages do not conform to this convention, they can be [[Help:Moving a page|renamed]] to conform, or a manual list can be maintained.
 
Specifying "<code>auto</code>" with any right-hand-side value other than "<code>long</code>" or "<code>no</code>" results in the short-format list; the use of "<code>short</code>" as the value just makes things more obvious to others.
 
The short and long auto lists are generated by {{tl|archive list}} and {{tl|archive list long}}, respectively. They are limited to a maximum of 100 and 36 subpages, respectively. Beyond those limits, additional subpages will not be listed. In such cases, a manually generated archive list subpage would need to be created and maintained.