Template:Main gallery

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Main gallery: Main gallery.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Main gallery/doc.

Used to put links on pages referencing the "main" gallery.


{{Main gallery |1= |2= }}

{{Main gallery|A}} →
Main gallery: A.
{{Main gallery|A|B|C}} →
Main galleries: A, B and C.

Template parameters

1gallery nameemptyrequired
2additional galleries (up to 4)emptyoptional

Additional information

The template is intended to be used in the following namespaces: the main or gallery namespace (unprefixed)

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

See also

Templates linking contents

"1-N" means from one to many.

Upwards links
Downwards links
Sideways page links
Sideways category links
Interproject links


To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)