Template:G/layout: Difference between revisions
Template page
More actions
self-revert; will experiment in sandbox if I return |
m code instead of tt tag |
||
| Line 7: | Line 7: | ||
{{#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|Galeria|module}}. | Subtemplate of {{T|G|-|case=l}}, transcluded by the {{M|Galeria|module}}. | ||
:Because the < | :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 < | :two transclusions of the gallery tag are necessary - one with, and the other one without <code>showfilename</code>. | ||
<!-- {{Heavily used template/sandbox|Template talk:G}} --> | <!-- {{Heavily used template/sandbox|Template talk:G}} --> | ||
The parameters for G/layout are: | The parameters for G/layout are: | ||
Revision as of 08:39, 2 November 2022
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