Template:Gal-begin: Difference between revisions

From Wikizilla, the kaiju encyclopedia
Jump to navigationJump to search
m (Protected "Template:Gal-begin" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(wtf...)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><gallery widths="{{{wid|120}}}" position="{{{pos|center}}}" columns="{{{col|dynamic}}}" spacing="{{{spc|small}}}" orientation="{{{ori|none}}}" captionposition="{{{cap-pos|below}}}" captionalign="{{{cap-aln|center}}}" captionsize="{{{cap-siz|small}}}" captiontextcolor="{{{cap-col|#000000}}" bordercolor="{{{bor-col|darkred}}}" bordersize="{{{bor-siz|small}}}"></includeonly><noinclude>
<gallery widths='120' position='center' captionalign='center' spacing='small'><noinclude>[[Category:Templates]]
This template is the beginning marker of an image gallery. Leave it at its default values to produce a standard gallery, and modify its parameters to change the gallery in several ways. Here is a list of parameters:
*{{code|wid}}= Sets width of the image thumbnails.
*{{code|pos}}= Alignment of the gallery. Leave as default for the images to be center-aligned. Accepts {{code|right}} and {{code|left}}.
*{{code|col}}= Number of columns. Leave as default for a column number that adjusts to the page width. Accepts number values.
*{{code|spc}}= Spacing in between images. Accepts {{code|small}}, {{code|medium}}, and {{code|large}}.
*{{code|ori}}= Orientation of the images. Leave as default for the image thumbnails being presented in their default widths/heights with the biggest dimension being equal to the "{{code|wid}}" value. Accepts {{code|square}}, {{code|landscape}}, and {{code|portrait}}.
*{{code|cap-pos}}= The position of the captions of the images. Leave as default for the captions to be below, change to {{code|within}} to make the captions be inside the images.
*{{code|cap-aln}}= Alignment of the captions of the images. Leave as default for the captions to be center-aligned. Accepts {{code|right}} and {{code|left}}.
*{{code|cap-siz}}= Size of the captions of the images. Leave as default for the captions to be small. Accepts {{code|medium}} and {{code|large}}.
*{{code|cap-col}}= Color of the captions of the images. Leave as default for the captions to be black. Accepts standard web-color names and hexadecimals. Note: include # before hexadecimals.
*{{code|bor-col}}= Color of the borders of the images. Leave as default for the borders to be dark red. Accepts standard web-color names and hexadecimals. Note: include # before hexadecimals.
*{{code|bor-siz}}= Size of the borders of the images. Leave as default for the borders to be small. Accepts {{code|none}}, {{code|medium}}, and {{code|large}}.
 
[[Category:Templates]]
[[Category:Image templates]]</noinclude>
[[Category:Image templates]]</noinclude>

Latest revision as of 08:42, 10 June 2016

<gallery widths='120' position='center' captionalign='center' spacing='small'>