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

Content deleted Content added
→‎Archive list: An archive list can also be passed in the first unnamed parameter avoiding the need for a subpage.
Documenting parameters for search box
लाइन 2:
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{intricate}}
{{noticeCaution|image=Symbol opinion vote.svg|This template is called by [[Template:Archive box]]. Please ensure that any changes do not break the legacy functionality of archive box.}}
 
The <code><nowiki>{{archivestl|{{BASEPAGENAME}}}}</nowiki></code> template may be used to add a box containing page links to archived discussions. It will automatically detect archived pages by default if they are named appropriately, eliminating the need to manually update the box each time a new archive page is created.
 
=== Usage ===
लाइन 30:
; 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.
; index: Adds an "Index" link in the title to a specified subpage, such as "/Archive index" that should be the subject index page for all archived discussions. [[User:HBC Archive Indexerbot|HBC Archive Indexerbot]] can automatically generate such indexes.
; search: If ''yes'', adds a search box to the template.
; list: Inline list of archives. This is not needed if the pages are named "Archive 1", "Archive 2" and so on, in which case automatic archiving works, but can be used in addition to automatic archiving if additional pages with other names are available.
; collapsible : If ''yes'', makes the list [[Help:Collapsing|collapsible]].
Line 39 ⟶ 38:
; link : Link for the image. This normally defaults to empty, which means no link. However, if <code>alt</code> is nonempty, it defaults to the image's file page.
; alt : Alt text for the image, for visually impaired readers. See [[WP:ALT]]. This defaults to empty. If a nonempty value is specified for <code>link</code>, <code>alt</code> should be nonempty too, and should indicate what will happen if the user clicks on the image.
 
==== Search ====
; search: If ''yes'', adds a search box to the template.
; root: Specify a different base than <code>{&#123;FULLPAGENAME}}/</code>. Use '''prefix''' if the additional of a trailing slash is not desired.
;search-break: ''Default'':no
;search-width: ''Default'':22
; searchbuttonlabel: ''Default'': Search
 
==== Bot archive notice ====
; bot : If specified, a note about automatic archiving will be shown.
; age : If specified, the archiving delay will be provided.