Template:G/layout: Difference between revisions
Template page
More actions
m format |
m linkfix |
||
| Line 6: | Line 6: | ||
|mode={{{2|}}}|caption={{{3|}}}|perrow={{{4|}}}|widths={{{5|}}}|heights={{{6|}}}}}}} | |mode={{{2|}}}|caption={{{3|}}}|perrow={{{4|}}}|widths={{{5|}}}|heights={{{6|}}}}}}} | ||
{{#if:{{{7|}}}|</span>}}{{#if:{{{9|}}}|</{{{9}}}>}}}}{{#ifeq:{{{8|}}}|c|</center>}}<noinclude> | {{#if:{{{7|}}}|</span>}}{{#if:{{{9|}}}|</{{{9}}}>}}}}{{#ifeq:{{{8|}}}|c|</center>}}<noinclude> | ||
Subtemplate of {{T|G|-|case=l}}, transcluded by the {{M| | Subtemplate of {{T|G|-|case=l}}, transcluded by the {{M|Galeria|module}}. | ||
:Because the <tt>gallery tag</tt> does not support the suppression of the <code>showfilename</code> option, <br> | :Because the <tt>gallery tag</tt> does not support the suppression of the <code>showfilename</code> option, <br> | ||
:two transclusions of the gallery tag are necessary - one with, and the other one without <tt>showfilename</tt>. | :two transclusions of the gallery tag are necessary - one with, and the other one without <tt>showfilename</tt>. | ||
Revision as of 17:56, 6 February 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