• होम
  • अट्रेंडम
  • आसपास
  • खाता में प्रवेश
  • सेटिंग्स
Donate Now If Wikipedia is useful to you, please give today.
  • विकिपीडिया के बारे में
  • नामंजूरी
विकिपीडिया

टेम्पलेट:Archives

  • भाषा
  • धियानसूची में डालीं
  • संपादन करीं

पुरालेख
पुरालेख 1पुरालेख 2

Template documentation[view] [edit] [history] [purge]
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
CautionThis template is called by Template:Archive box. Please ensure that any changes do not break the legacy functionality of archive box.

The {{Archives}} 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.

बिसयसूची

  • 1 Usage
    • 1.1 Archive list
      • 1.1.1 Additional notes
    • 1.2 Icon image
    • 1.3 Search
    • 1.4 Archival method
    • 1.5 Other parameters
    • 1.6 उदाहरण
  • 2 इहो देखल जाय

Usage

संपादन करीं
{{archives
| archivelist = <!-- /archivelist -->
| auto        = <!-- short/long/no -->
| index       = <!-- /Archive index -->
| list        = 
| search      = <!-- yes/no -->
| root        =
| prefix      =
| collapsible = <!-- yes/no -->
| collapsed   = <!-- yes/no -->
| editbox     = <!-- yes/no -->
| box-width   =
| style       = 
| title       = 
| image       = 
| image-size  =
| alt         = 
| link        = 
| target      = 
| bot         = 
| age         = 
| units       = <!-- time units (defaults to days) -->
| 
<!-- optional additional text or list items -->
}}

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.
index
Links the "Archives" title to a specified subpage, such as "/Archive index", that should be the subject index page for all archived discussions. HBC Archive Indexerbot and Legobot previously generated such indexes, but neither do this currently.
list
Inline list of archives. The list parameter overrides automatic archive detection of pages named "Archive 1", "Archive 2" and so on.
(1st unnamed parameter)
Can be used in addition to automatic archiving if additional pages with other names are available.

With no explicit parameters, the archive list presented in the box is determined automatically. If a subpage called "{{PAGENAME}}/archivelist" exists, it will be used as the central content of the box. For an example, see Talk:Evolution, which [not currently] draws from Talk:Evolution/archivelist. The archivelist parameter changes the name of this subpage.

If no archive list subpage is detected, numbered archive subpages will be listed in long format. Such pages must be named as "/Archive #" because other naming styles will not be detected. The "long" auto format (the default) indicates "Archive 1", "Archive 2", and so on. The "short" auto format indicates only the archive number. See more examples below.

An additional list of archives can be passed in the first unnamed parameter, avoiding the need for a subpage.

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.]

Additional notes

संपादन करीं

The "auto" and "archivelist" parameters are not intended to be used together. (Doing so does not use the specified archive list page.)

The auto-generated archive list requires subpages to use the common naming convention. That is, "{{PAGENAME}}/Archive 1", "{{PAGENAME}}/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 renamed to conform, or a manual list can be maintained.

Specifying "auto" with any right-hand-side value other than "long" or "no" results in the short-format list; the use of "short" as the value just makes things more obvious to others.

Icon image

संपादन करीं
image
An alternate image to be used, defaults to "Replacement filing cabinet.svg". May also use image-size.
alt
Alt text for the image, for visually impaired readers. See WP:ALT. This defaults to empty. If a nonempty value is specified for link, alt should be nonempty too, and should indicate what will happen if the user clicks on the image.
link
Link for the image. This normally defaults to empty, which means no link. However, if alt is nonempty, it defaults to the image's file page.

The link and alt parameters only take effect if the image is changed from the default.

Search

संपादन करीं
search
If yes, adds a search box to the template.
root
Specify a different base than {{FULLPAGENAME}}/. Use prefix if the addition of a trailing slash is not desired.
search-break
Default:no
search-width
Default:22
search-button-label
Default: Search

Archival method

संपादन करीं
target
The title of the page (just the name, no link syntax) that threads are currently being archived to, for manual archiving.
bot
If specified, a note about automatic archiving will be shown.
age
If specified, this will be displayed as the archiving delay.
units
If specified, this will be displayed units for the archiving delay. The default is "days".

Other parameters

संपादन करीं
collapsible
If yes, makes the list collapsible.
collapsed
If yes, makes the list collapsed.
style
An arbitrary string of CSS can be applied to the box (use with care). May also use box-width.
title
An alternative title, defaults to "Archives". The title is automatically linked to the archive index page if one is specified, otherwise a wiki link may be specified here.
editbox
If yes or omitted, includes a button to edit the archive box's sub-page /archivelist.

उदाहरण

संपादन करीं
Default
{{archives}}

पुरालेख
पुरालेख 1पुरालेख 2

Short, index
{{archives
 |auto= short
 |index= /Archive index
}}

पुरालेख
1, 2

इहो देखल जाय

संपादन करीं
  • दे
  • बा
  • सं
Archiving templates
Help:Archiving a talk page
इंडेक्स बक्सा
  • {{Archive box}}
  • {{Archive box collapsible}}
  • {{Archives}} (simple but configurable)
  • {{UserTalkArchiveBox}}
सर्च बक्सा
  • {{Archive banner}}
  • {{Talk header}} (contains an automatically appearing archive search box and nav)
हेडर
नेवीगेशन
वाला
  • {{Archive nav}}
  • {{Archive navigation}}
  • {{Archive number}}
  • {{Talk archive navigation}}
बिना
नेवीगेशन
  • {{Archive}}
  • {{Archive index}}
  • {{Archiving}}
  • {{UserTalkArchive}}
सामग्री
फार्मेटिंग
  • {{Archive top}}
  • {{Collapse top}}
  • {{Hidden archive top}}
Category पुरालेख बनावे संबंधी श्रेणी
The above documentation is transcluded from टेम्पलेट:Archives/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
"https://bh.wikipedia.org/w/index.php?title=टेम्पलेट:Archives&oldid=625774" से लिहल गइल
Last edited on 23 सितंबर 2018, at 15:57

Languages

    • العربية
    • অসমীয়া
    • Авар
    • تۆرکجه
    • Башҡортса
    • Basa Bali
    • Беларуская
    • Беларуская (тарашкевіца)
    • Български
    • ပအိုဝ်ႏဘာႏသာႏ
    • বাংলা
    • Chavacano de Zamboanga
    • 閩東語 / Mìng-dĕ̤ng-ngṳ̄
    • Нохчийн
    • کوردی
    • Čeština
    • Cymraeg
    • Dolnoserbski
    • डोटेली
    • ދިވެހިބަސް
    • English
    • Esperanto
    • Eesti
    • فارسی
    • Français
    • Galego
    • ગુજરાતી
    • Gungbe
    • हिन्दी
    • Fiji Hindi
    • Hornjoserbsce
    • Magyar
    • Interlingua
    • Bahasa Indonesia
    • Ilokano
    • ГӀалгӀай
    • Italiano
    • 日本語
    • La .lojban.
    • Qaraqalpaqsha
    • Адыгэбзэ
    • Қазақша
    • کٲشُر
    • Kurdî
    • Коми
    • Кыргызча
    • Latina
    • Ligure
    • Latviešu
    • मैथिली
    • Македонски
    • ဘာသာမန်
    • Bahasa Melayu
    • မြန်မာဘာသာ
    • नेपाली
    • Nederlands
    • Norsk bokmål
    • Diné bizaad
    • Chi-Chewa
    • ਪੰਜਾਬੀ
    • Tarandíne
    • Русский
    • Scots
    • سنڌي
    • Srpskohrvatski / српскохрватски
    • တႆး
    • සිංහල
    • Simple English
    • Slovenščina
    • Shqip
    • Српски / srpski
    • Sakizaya
    • தமிழ்
    • తెలుగు
    • Türkçe
    • Українська
    • اردو
    • Oʻzbekcha / ўзбекча
    • Tiếng Việt
    • 中文
    • 文言
    • 閩南語 / Bân-lâm-gú
    • 粵語
    विकिपीडिया
    • Wikimedia Foundation
    • Powered by MediaWiki
    • एह पन्ना पर आखिरी बेर संपादन 23 सितंबर 2018 के 15:57 बजे भइल रहल।
    • सामग्री CC BY-SA 4.0 की तहत उपलब्ध बा जबले कि अलगा से बतावल न गइल होखे।
    • गोपनीयता नीति
    • विकिपीडिया के बारे में
    • नामंजूरी
    • Code of Conduct
    • डेवलपर लोग
    • आँकड़ा
    • कुकी इस्टेटमेंट
    • उपयोग के शर्त कुल
    • डेस्कटॉप