Template:G/layout: Difference between revisions
Template page
More actions
m +parm |
m corr |
||
| Line 1: | Line 1: | ||
{{#ifeq:{{{8|}}}|c|<center>}}{{#switch:{{{1|}}}|+|=|{{#if:{{{9|}}}|<{{{9}}}>}} | {{#ifeq:{{{8|}}}|c|<center>}}{{#switch:{{{1|}}}|+|=|#default={{#if:{{{9|}}}|<{{{9}}}>}} | ||
{{#if:{{{7|}}}|<span style="{{{7}}}">}}{{#ifeq:{{{10|}}}|1 | {{#if:{{{7|}}}|<span style="{{{7}}}">}}{{#ifeq:{{{10|}}}|1 | ||
|{{#tag:gallery|{{{1|}}}|{{#if:{{{8|}}}|{{#ifeq:{{{8}}}|c||<class="{{{8|}}}">}}}} | |{{#tag:gallery|{{{1|}}}|{{#if:{{{8|}}}|{{#ifeq:{{{8}}}|c||<class="{{{8|}}}">}}}} | ||
Revision as of 06:17, 21 July 2020
Subtemplate of template:{{G}}, transcluded by the module.
- Because the gallery tag does not support the suppression of the
showfilenameoption, - two transclusions of the gallery tag are necessary - one with, and the other one without showfilename.
The parameters for G/layout are:
- filenames (+ captions)
- mode
- caption
- perrow
- width
- height
- style
- class
- text
- showfilename option