Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 17:40, 12 October 2019 by commons>Sarang (first version)

Template:Underconstruction

Displays a gallery of files

Usage

{{G}}

Template parameters

ParameterDescriptionDefaultStatus
1 ...(list of) file(s) to be displayed, can be in two possible formatsemptyoptional
n
name
one of three values, 0 or 1 or 21optional
m
mode
gallery mode, can be noline packed packed-hover packed-overlay slideshow
when parameter name is not specified, noline ist defaulted
empty
noline
optional
c
caption
gallery captionemptyoptional
p
perrow
pictures per rowemptyoptional
s
style
possible style attributeemptyoptional
w
widths
width for the displaysemptyoptional
h
heights
height for the displaysemptyoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Localization

This template is not intended to be localized.

File list formats

The list of the files for the gallery can be specified in the format

Fomat 1
{{ Gfile1.extfile2.ext...filen.extmore parameters }}

or as a list separated by mandatory linefeeds

Fomat 2
{{ G
file1.ext
file2.ext
...
filen.ext
more parameters }}

For name=0 or name=1 even a mixture of both formats is possible. The first fomat allows a maximum of currently 45 files, the second one is unlimited.


For name=2 only a variation of the first format ist possible, with pairs of file + decription

Fomat 3
{{ Gfile1.extdescription1file2.extdescription2...filen.extdescriptionnn = 2more parameters }}

When the description is empty, the filename is displayed.

The parameter "name"

can specify one of three options how naming captions for the single files are displayed:

  • 0 no naming
  • 1 naming with the "showfilename" option (n=1 is also the default)
  • 2 naming with the second value of parameter pairs

Examples

Cookies help us deliver our services. By using our services, you agree to our use of cookies.