موضيل:سلايدشو عشوائي د تصاور
موضيل ؤلا شرح د لموضيل مامطرجمش. عافاك عاون ف طّرجامة ديالو. |
هذا القالب يستعمل لوا: |
This template transcludes images from specified pages, and creates a slideshow gallery with a randomised order – i.e. it changes when the page is purged. It is intended for use in portals and does not show anything in article space.
تخدام
[بدل لكود]موضيل:A note Though there is no fixed limit to the number of pages that can be specified, or images per page, be aware that technical limitations may be encountered for very large numbers of pages or images.
Specify pages displaying images:
{{Transclude files as random slideshow | First page | second page | third page }}
If images should only be retrieved from a certain section of each page:
{{Transclude files as random slideshow | First page | section1= section name | second page | section2= section name | third page | section3= section name }}
To also include some specific files:
{{Transclude files as random slideshow | File:SpecificFileOne.jpg | caption1= Caption for first file | File:SpecificFileTwo.png | caption2= Caption for second file | credit2= Credits for second file (optional) | First page | Second page | Third page }}
Alternate syntax for specific files' captions and credits:
{{Transclude files as random slideshow | File:SpecificFileOne.jpg ## Caption for first file | File:SpecificFileTwo.png ## Caption for second file ## Credits for second file (optional) | First page | Second page | Third page }}
پاراميطرات
[بدل لكود]|1=
,|2=
,|3=
, ... (or equivalent positional parameters)- Full page name – including namespace – of the page containing images, or of a specific image.
|section1=
,|section2=
,|section3=
, ...- Limit to files in these section of the corresponding page. Optional.
|caption1=
,|caption2=
,|caption3=
, ...- Caption for the corresponding file (or omit these parameters and use the alternate syntax shown above)
|credit1=
,|credit2=
,|credit3=
, ...- Optional: Credits for the file (or omit these parameters and use the alternate syntax shown above)
|width=
- Maximum width for all images; default is
100%
(intended for use inside portal components) - Can be specified as a
%
(e.g. 75%), or inem
s (e.g. 30em), or inpx
(e.g. 200px) - If a unit is not specified,
px
is assumed (i.e. 350 is equivalent to 350px)
أمتيلا
[بدل لكود]{{Box-header|title=Selected pictures}} {{Transclude files as random slideshow | Template:Transclude files as random slideshow/testcases/1 | Template:Transclude files as random slideshow/testcases/2 | Template:Transclude files as random slideshow/testcases/3 }} {{Box-footer}}
{{Box-header|title=Selected pictures}} {{Transclude files as random slideshow | Template:Transclude files as random slideshow/testcases/2 |section1=Mice }} {{Box-footer}}
{{Box-header|title=Selected pictures}} {{Transclude files as random slideshow | Australia }} {{Box-footer}}
Embedded in sidebar, scaled to 1.35 upright |
موضيل:Transclude files as random slideshow |
{{Sidebar | pretitle = Embedded in sidebar, scaled to 1.35 upright | pretitlestyle = font-weight:bold; | cellspacing = 0 | cellpadding = 0 | width = | style = border:1px solid #c8ccd1; | content1style = margin:-5px -5px -2.2em -5px; display: inline-block; | content1 = {{Transclude files as random slideshow | Template:Transclude files as random slideshow/testcases/2 |section1=Mice }} | content2style = height:0px; margin:0 -0.4em; padding:0; display:inline-block; visibility:hidden; | content2 = [[ملف:Cat playing with a lizard.jpg|frameless|border|upright=1.35]] }}
شوف تا
[بدل لكود]موضيل:Portal templates navbox موضيل:Cot
TemplateData for سلايدشو عشوائي د تصاور
لا وصف.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Page 1 | 1 | First page to use as a source of files/images | اسم الصفحة | مطلوب |
Page 2 | 2 | Second page to use a source of files/images. (Add more pages using parameters "3", "4", "5", etc) | اسم الصفحة | اختياري |
Section of page 1 | section1 | Limit files to this section of page 1 | نص | اختياري |
Section of page 2 | section2 | Limit files to this section of page 2 | نص | اختياري |
Width | width | Maximum width for all images. Specify as a %, or in em, or in px
| نص | اختياري |
هاد شّرح لي لفوق تم تضمينو من موضيل:سلايدشو عشوائي د تصاور/شرح. (عدل | تاريخ) لكتاتبيا يقدرو يجربو تعديلاتهم على لقالب ف صفحات تيران د رملة (صاوب | مراية) و لابو (صاوب). عافاك زيد التصنيفات ف الصفحة لفرعية /شرح. الصفحات لفرعية ديال هاد لقالب. |