Template:G/layout: Difference between revisions
Template page
More actions
m Moving from Category:Miscellaneous subtemplates to Category:Subtemplates |
don't use a sandbox in a non-sandbox |
||
| Line 9: | Line 9: | ||
:Because the <code>gallery tag</code> does not support the suppression of the <code>showfilename</code> option, <br> | :Because the <code>gallery tag</code> 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 <code>showfilename</code>. | :two transclusions of the gallery tag are necessary - one with, and the other one without <code>showfilename</code>. | ||
<!-- {{Heavily used template | <!-- {{Heavily used template|Template talk:G}} --> | ||
The parameters for G/layout are: | The parameters for G/layout are: | ||
# filenames (+ captions) <small>as a (linefeed/pipe separated) string</small> | # filenames (+ captions) <small>as a (linefeed/pipe separated) string</small> | ||
Revision as of 07:09, 30 September 2023
Subtemplate of template:{{G}}, transcluded by the module.
- Because the
gallery tagdoes not support the suppression of theshowfilenameoption, - two transclusions of the gallery tag are necessary - one with, and the other one without
showfilename.
The parameters for G/layout are:
- filenames (+ captions) as a (linefeed/pipe separated) string
- mode
- caption
- perrow
- width
- height
- style
- class
- text
- showfilename option