Template:Gallery/doc: Difference between revisions

Template page
(Created page with "{{Documentation}} ;Description :This template is used to implement gallery section into a page ;Syntax :Type <code><nowiki>{{Gallery|<<image 1>>|<<image 2>>|<<image 3>>|<...>|<<image 9>>}}</nowiki></code> ;Sample output :<code><nowiki>{{Gallery|tapir.jpg|tapirfront.jpg|tapirback.jpg}}</nowiki></code> ;References <references/>")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Documentation}}
;Description
;Description
:This template is used to implement gallery section into a page
:This template is used to implement gallery section into a page
Line 8: Line 7:
;References
;References
<references/>
<references/>
<templatedata>
{
"params": {
"1": {
"label": "Content",
"description": "A list of image names seperated by |.",
"example": "image1.png|image2.png|image3.jpg",
"type": "string",
"required": true
}
}
}
</templatedata>

Latest revision as of 19:46, 18 January 2023

Description
This template is used to implement gallery section into a page
Syntax
Type {{Gallery|<<image 1>>|<<image 2>>|<<image 3>>|<...>|<<image 9>>}}
Sample output
{{Gallery|tapir.jpg|tapirfront.jpg|tapirback.jpg}}
References

<references/>

No description.

Template parameters

ParameterDescriptionTypeStatus
Content1

A list of image names seperated by |.

Example
image1.png|image2.png|image3.jpg
Stringrequired