Template:Archives/ar
File:Replacement filing cabinet.svg
أرشيفات
| |
---|---|
| |
File:Farm-Fresh css add.svg | This template uses TemplateStyles: |
يجوز استخدام قالب {{archives}}
في إضافة صندوق يحتوي على وصلات صفحات إلى صفحات نقاش محفوظة في الأرشيف.
سيتولى القالب تلقائيا الكشف عن الصفحات المحفوظة في الأرشيف لو كانت الصفحات تحمل أسماء ملائمة للإعداد الافتراضي، وبالتالي انتفاء الحاجة لتحديث الصندوق يدويا في كل مرة تستحدث صفحة أرشيف جديدة.
الاستخدام
{{archives |archivelist= /archivelist |auto= <short|long|no> |search= <yes|no> |list= |style= |title= |bot= |age= }}
متغيرات
- 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.
- style
- An arbitrary string of CSS can be applied to the box (use with care).
- title
- An alternate title, defaults to a bolded "Archives".
- bot
- If specified, a note about automatic archiving will be shown.
- age
- If specified, the archiving delay will be provided.
قائمة الأرشيف
By default (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 draws from Talk:Evolution/archivelist.
If no archivelist 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. If no subpages are found, the archivebox will contain only the "About" and "Edit" links, with the Edit link targeted at "{{PAGENAME}}/archivelist
", which can then be used to begin manually populating the list, if desired.
If the "auto
" parameter is specified, the "Edit" link is removed. 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.
If an archive list is specified, the name of the subpage is changed; otherwise, the behavior is the same.
Using "auto=no" will disable archive auto-detection. Manually specified archives will still be shown.
ملاحظات إضافية
The "auto
" and "archivelist
" parameters are not intended to be used together. (Doing so removes the edit link, but will still use the specified archive list page if it exists.)
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.
The long auto lists are generated by {{Archive list long }}, limited to a maximum of 36 subpages (the short version {{Archive list }} with maximum of 100 subpages is obsolote now). 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. See also {{قالب:صندوق أرشيف }}.
أمثلة
- Default
{{archives}}
File:Replacement filing cabinet.svg
Archives
| |
---|---|
| |
- Short, index
{{archives
|list = /Archive1 /Archive2
|index= /Archive index
}}
File:Replacement filing cabinet.svg |
---|
/Archive1 /Archive2 |