ਫਰਮਾ:Transclude files as random slideshow/doc
ਇਹ ਇੱਕ ਫਰਮਾ:Transclude files as random slideshow ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
This template uses TemplateStyles: |
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.
Usage
ਸੋਧੋਨੋਟ: 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 }}
Parameters
ਸੋਧੋ|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)
Examples
ਸੋਧੋ{{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}}
Selected pictures
ਲੂਆ ਗ਼ਲਤੀ: No content found on page "Template:Transclude files as random slideshow/testcases/1"।
{{Box-header|title=Selected pictures}} {{Transclude files as random slideshow | Template:Transclude files as random slideshow/testcases/2 |section1=Mice }} {{Box-footer}}
Selected pictures
ਲੂਆ ਗ਼ਲਤੀ: No content found on page "Template:Transclude files as random slideshow/testcases/2"।
{{Box-header|title=Selected pictures}} {{Transclude files as random slideshow | Australia }} {{Box-footer}}
Selected pictures
ਲੂਆ ਗ਼ਲਤੀ: No content found on page "Australia"।
See also
ਸੋਧੋTemplateData
| ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Transclude files as random slideshow No description.
|