Template:Gallery/Documentation: Difference between revisions

Want an adless experience? Log in or Create an account.
m
no edit summary
(Created page with "This template is used to create a more flexible image gallery that has more options than the default gallery functions. ==Usage== To use this template, begin with this code, ...")
 
mNo edit summary
Line 5: Line 5:
<div style="float:left;"><pre>
<div style="float:left;"><pre>
{{Gallery|size=|pad=|perrow=|title=}}
{{Gallery|size=|pad=|perrow=|title=}}
{{Gallery/Box|file=|link=|tip=|caption=}}
{{Gallery/Box|file=|link=|margin=|tip=|caption=}}
{{Gallery/Bottom}}
{{Gallery/Bottom}}
</pre></div><br style="clear:both">
</pre></div><br style="clear:both">
Line 13: Line 13:
*'''''file''''' — The file to use, do not include the ''File:'' prefix.
*'''''file''''' — The file to use, do not include the ''File:'' prefix.
*'''''link''''' — A page to link the image to. Defaults to the image's page.
*'''''link''''' — A page to link the image to. Defaults to the image's page.
*'''''margin''''' — Use this reduce the margin above and below the image by the specified number of pixels.
*'''''tip''''' — A tooltip to display for the image, defaults to the page linked to.
*'''''tip''''' — A tooltip to display for the image, defaults to the page linked to.
*'''''caption''''' — A traditional caption to display below the image.
*'''''caption''''' — A traditional caption to display below the image.