Andoza:Random slideshow/doc
Qiyofa
Ushbu sahifa Random slideshow andozasining hujjat sahifasidir. Bu yerda andozaning asosiy sahifasidan joy olmagan foydalanish qoidalari, turkumlar va boshqa foydali maʼlumotlar joylashtiriladi. |
Bu sahifa Vikipediyaning mobil versiyalari bilan mos kelmaydigan kodlashni oʻz ichiga oladi, bu esa displey va kirish imkoniyati bilan bogʻliq muammolarni keltirib chiqaradi. {{{tushuntirish}}} |
Bu andoza quyidagi Luadan foydalanadi: |
This template 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 will not display in article space.
Foydalanish
[manbasini tahrirlash]As many images and captions as desired may be specified, in the following format:
{{Random slideshow | First image | first caption | second image | second caption | third image | third caption }}
Credits (e.g. "Photograph: Example") may be specified, using the following format
{{Random slideshow | First image | first caption | credit1= | second image | second caption | credit2= | third image | third caption | credit3= }}
Parameterlar
[manbasini tahrirlash]|1=
,|3=
,|5=
, ... (or equivalent positional parameters)- File name. The "File:" prefix is optional.
|2=
,|4=
,|6=
, ... (or equivalent positional parameters)- Caption for the file.
|credit1=
,|credit2=
,|credit3=
, ...- Credits for the file. Optional.
|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) |random=
- Set to
no
orfalse
to turn off the randomisation.
Naʼmunalar
[manbasini tahrirlash]bu galereyalarni boshqa tartibda koʻrish uchun
Mushuklar
[manbasini tahrirlash]{{Box-header|title=Tanlangan rasmlar}} {{Random slideshow | File:Cat playing with a lizard.jpg | kaltakesak bilan oʻynayotgan mushuk | Felis silvestris catus lying on rice straw.jpg | Guruch somoni ustida yotgan mushuk | Mumbai 03-2016 63 Dhobi Talao Chowk.jpg | Mumbaydagi mushuk tasviri | File:Felis catus-cat on snow.jpg | Qordagi mushuk | Tired 20-year-old cat.jpg | Charchagan mushuk }} {{Box-footer}}
Selected pictures
Sichqonlar
[manbasini tahrirlash]{{Random slideshow | width=275 | File:Agouti Mice.jpg | Ikkita sichqon | credit1= Photograph: Pogrebnoj-Alexandroff | Brown mouse.jpg | Jigarrang sichqon | credit2= Photograph: [[User:Kulmalukko|Tiia Monto]] | File:Farbmaeuse.jpg | Ovqatlanayotgan sichqonlar | credit3= Photograph: [[c:User:Whitesky~commonswiki|Whitesky]] | File:Farbmaus.JPG | Gʻildirak ustidagi sichqoncha | credit2= Photograph: [[de:User:R2Dine|R2Dine]] }}
TemplateData
[manbasini tahrirlash]Bu TemplateData TemplateWizard, VisualEditor va boshqa vositalar uchun ishlab chiqilgan.
Random slideshow uchun TemplateData
Creates a slideshow gallery with randomized order. Add as many images as desired.
Parametr | Tavsif | Turi | Status | |
---|---|---|---|---|
Image 1 | 1 (unnamed positional parameter) | Name of the first image, without prefix
| Fayl | required |
Caption 1 | 2 (unnamed positional parameter) | Caption of the first image
| String | required |
Credit 1 | credit1 | Credit for the first image
| Nomaʼlum | ixtiyoriy |
Width | width | Maximum width of all images
| Son | suggested |
Image 2 | 3 (unnamed positional parameter | Name of the second image, without prefix
| Fayl | suggested |
Caption 2 | 4 (unnamed positional parameter) | Caption of the second image
| String | suggested |
Credit 2 | credit2 | Credits for the second image
| Nomaʼlum | ixtiyoriy |