Template:G/layout: Difference between revisions
Template page
More actions
m -link |
m +explanation |
||
| Line 10: | Line 10: | ||
: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>. | ||
<!-- {{Heavily used template/sandbox|Template talk:G}} --> | <!-- {{Heavily used template/sandbox|Template talk:G}} --> | ||
The parameters for G/layout are: | |||
# filenames (+ captions) | |||
# mode | |||
# caption | |||
# perrow | |||
# width | |||
# height | |||
# style | |||
# class | |||
# text | |||
# showfilename option | |||
[[Category:Miscellaneous subtemplates]] | [[Category:Miscellaneous subtemplates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 21:57, 12 December 2019
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