CURRENT MISSION: Conclude the 2026 soyjak.party hack page, aswell as any pages relating to it, such as the Summer 2026 Crisis page.
Update Quotecord with any relevant info. See the blackboard for more info.
Help:Gallery: Difference between revisions
Could be useful. |
m Text replacement - "{{Metapage}}" to " " |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
'''<gallery>''' is a tag on [[this very wiki]] and many others running [[MediaWiki]] that lets you insert a group of images together. This page will show you how to take full advantage of this tag. | '''<gallery>''' is a tag on [[this very wiki]] and many others running [[MediaWiki]] that lets you insert a group of images together. This page will show you how to take full advantage of this tag. | ||
== Example == | == Example == | ||
;Input | |||
<pre><gallery> | |||
File:Janny soyjak.png|Caption 1 | File:Janny soyjak.png|Caption 1 | ||
File:JannyNaturalHabitat.png|Caption 2 | File:JannyNaturalHabitat.png|Caption 2 | ||
File:Soy jannies.png|Caption 3 | File:Soy jannies.png|Caption 3 | ||
</gallery> | </gallery></pre> | ||
;Output | |||
<gallery> | |||
File:Janny soyjak.png|Caption 1 | File:Janny soyjak.png|Caption 1 | ||
File:JannyNaturalHabitat.png|Caption 2 | File:JannyNaturalHabitat.png|Caption 2 | ||
File:Soy jannies.png|Caption 3 | File:Soy jannies.png|Caption 3 | ||
</gallery> | </gallery> | ||
== Parameters == | == Parameters == | ||
| Line 42: | Line 41: | ||
== See also == | == See also == | ||
* [[Template:Collapsegallery]] - Make galleries collapsible. | * [[Template:Collapsegallery]] - Make galleries collapsible. | ||
{{SoyjakWiki}} | |||
Latest revision as of 15:03, 21 August 2026
<gallery> is a tag on this very wiki and many others running MediaWiki that lets you insert a group of images together. This page will show you how to take full advantage of this tag.
Example[edit source]
- Input
<gallery> File:Janny soyjak.png|Caption 1 File:JannyNaturalHabitat.png|Caption 2 File:Soy jannies.png|Caption 3 </gallery>
- Output
-
Caption 1
-
Caption 2
-
Caption 3
Parameters[edit source]
These parameters are set by doing <gallery parameter="value">.
mode[edit source]
There are different types of galleries, such as:
traditional- The default.nolines- Like traditional without any borders.packed- Images are non-uniform and aligned center.packed-overlay- Like packed with captions overlaying the image.packed-hover- Like packed-overlay but captions only show on hover.slideshow- One big image is shown in the center with arrows to cycle through them, as well as a button to show a nolines-like gallery underneath.
widths & heights[edit source]
These parameters let you control the widths and heights of the individual images.
perrow[edit source]
Set the amount of images to show per row, the default being 0.
showfilename[edit source]
If this parameter is set to anything, filenames are shown above the captions.
showthumbnails[edit source]
For the slideshow mode, this sets whether the button to show the nolines-like gallery beneath is shown or not.
See also[edit source]
- Template:Collapsegallery - Make galleries collapsible.
| Soyjak Wiki Guides and Policies
Guides: Policies: |



