टेम्पलेट:Archives/doc: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
imported>Vadmium Split parameter list into separate sections; put #Archive list sections first |
imported>Vadmium →Archive list: Fix “list” versus unnamed parameter confusion; Talk:Evolution/archivelist example probably past its use-by date; looks like auto parameter behaviour has changed since this was written and the archive list edit link is broken |
||
लाइन 31:
=== Archive list ===
; archivelist: Specifies a link to a subpage, such as "/archivelist", that contains the archive list
; auto= <short|long|no>: Specifies the format of the auto-generated archive list. If left unspecified, the default is "long"; any other word (except "no") will result in "short" and "no" disables auto-detection.
; list: Inline list of archives.
; (1st unnamed parameter): Can be used in addition to automatic archiving if additional pages with other names are available.
If no
An
Using "auto=no" will disable archive auto-detection. Manually specified archives will still be shown. [The archive box will also contain an "Edit" link, targeted at the archive list subpage, which can then be used to begin manually populating the list, if desired. This seems broken.]
▲An archive list can also be passed in the first unnamed parameter avoiding the need for a subpage.
==== Additional notes ====
The "<code>auto</code>" and "<code>archivelist</code>" parameters are not intended to be used together. (Doing so
The auto-generated archive list requires subpages to use the common naming convention. That is, "<nowiki>{{PAGENAME}}</nowiki>/Archive 1", "<nowiki>{{PAGENAME}}</nowiki>/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.
|