Difference between revisions of "Infosphere:Image gallery"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{update}}
{{update}}


An '''image gallery''' is [[the Infosphere]]'s way of showing images concerning an article simply and clear. The section is visible in the ''Additional information'' section of an article.
An '''image gallery''' is [[the Infosphere]]'s way of showing images concerning an article simply and clearly. The section is visible in the ''Additional information'' section of an article.


== Example ==
== Example ==
Line 16: Line 16:


== Demonstration ==
== Demonstration ==
A demonstration of how to create an image gallery.
A demonstration of how to create the image gallery above.
<pre><nowiki><gallery>
<pre><nowiki><gallery>
Image:Thubanian citizens.jpg|[[Thubanians|Thubanian citizens]]
Image:Thubanian citizens.jpg|[[Thubanians|Thubanian citizens]]
Line 27: Line 27:
</gallery></nowiki></pre>
</gallery></nowiki></pre>


The gallery will show four images per row, by default. If you want it to show a different number, replace <code><nowiki><gallery></nowiki></code> with <code><nowiki><gallery perrow=N></nowiki></code> or <code><nowiki><gallery perrow:N></nowiki></code>.
The gallery will show four images per row, by default. If you want it to show a different number, replace <code><nowiki><gallery></nowiki></code> with <code><nowiki><gallery perrow=N></nowiki></code>, where <code>N</code> is the number of images wished per row.


[[category:Meta]]
[[category:Meta]]

Latest revision as of 19:14, 3 March 2011

Message-box warning.png
This article is in need of an update.
Editors are encouraged to update and expand the article.

An image gallery is the Infosphere's way of showing images concerning an article simply and clearly. The section is visible in the Additional information section of an article.

Example

An example of an image gallery, from the article Thuban 9.

Demonstration

A demonstration of how to create the image gallery above.

<gallery>
Image:Thubanian citizens.jpg|[[Thubanians|Thubanian citizens]]
Image:The Chicken-Salmon.jpg|The [[Chicken-Salmon]]
Image:Sleeping in the day.jpg|Sleeping in the day
Image:Sleeping in the night.jpg|Sleeping in the night
Image:Too hot.jpg|Too hot
Image:Too cold.jpg|Too cold
Image:The top scientists.jpg|The top scientists
</gallery>

The gallery will show four images per row, by default. If you want it to show a different number, replace <gallery> with <gallery perrow=N>, where N is the number of images wished per row.