Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Template:Gallery/Aux

From FlightGear wiki
Jump to: navigation, search
{{{alt}}}
{{{2}}} 


The following template description is not displayed when the template is inserted in an article.

Goal

This template is used internally by {{gallery}} for each of the images in a gallery.

Usage

{{Gallery/Aux|file name|caption |width= |height= |lines= |alt=}}

Consider all parameters mandatory.

file name
Name of the image file excluding the File: or Image: prefix. Defaults to Flag of None.png.
caption
Image caption to be shown below the image.
width
Maximum width of each image in pixels. Defaults to 180.
height
Maximum height of each image in pixels. Defaults to 180.
lines
Number of text lines needed for the largest caption. Blank lines are appended to smaller captions. A caption that does not fit is cut off. Defaults to 2.
alt
Alt text for the image. Will be used in screen readers, for visually impaired readers etc.

Known issues

For some reason it seems that while defaults are defined in the wiki text of the template they are are not used when using the template without parameters.