Help:Gallery: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
Line 3: Line 3:
Galleries are best used in situations where a lot of pictures need to be displayed. Galleries are like thumbnails boxed together in a table.
Galleries are best used in situations where a lot of pictures need to be displayed. Galleries are like thumbnails boxed together in a table.


Here is an example of a gallery:<gallery>
By default, a gallery row contains 4 images. '''Do not create galleries with more than 4 images per row on any page outside your [[MarioWiki:User space|user space]]'''.
 
Here is an example of a gallery:
<gallery>
File:MarioMP8a.PNG|''[[Mario]]''
File:MarioMP8a.PNG|''[[Mario]]''
File:Luigi.jpg|''[[Luigi]]''
File:Luigi.jpg|''[[Luigi]]''
File:Bowser222.png|''[[Bowser]]''
File:Bowser222.png|''[[Bowser]]''
</gallery><pre><gallery>
</gallery>
 
<pre><gallery>
File:MarioMP8a.PNG|''[[Mario]]''
File:MarioMP8a.PNG|''[[Mario]]''
File:Luigi.jpg|''[[Luigi]]''
File:Luigi.jpg|''[[Luigi]]''
File:Bowser222.png|''[[Bowser]]''
File:Bowser222.png|''[[Bowser]]''
</gallery></pre>
</gallery></pre>
The main idea for a gallery is this:
The main idea for a gallery is this:
<pre><gallery>
<pre><gallery>
File:Image name.ext|Caption
File:Image name.ext|Caption
</gallery></pre>
</gallery></pre>
[[Category:Help|{{PAGENAME}}]]
[[Category:Help|{{PAGENAME}}]]

Revision as of 21:16, July 31, 2011

How to create a picture gallery

Galleries are best used in situations where a lot of pictures need to be displayed. Galleries are like thumbnails boxed together in a table.

By default, a gallery row contains 4 images. Do not create galleries with more than 4 images per row on any page outside your user space.

Here is an example of a gallery:

<gallery>
File:MarioMP8a.PNG|''[[Mario]]''
File:Luigi.jpg|''[[Luigi]]''
File:Bowser222.png|''[[Bowser]]''
</gallery>

The main idea for a gallery is this:

<gallery>
File:Image name.ext|Caption
</gallery>