Template:G/layout: Difference between revisions
Template page
More actions
m +doc |
mNo edit summary |
||
| (23 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{#if:{{{9|}}}|< | {{#ifeq:{{{8|}}}|c|<div class="center">}}<!-- | ||
|{{#tag:gallery|{{{1|}}} | -->{{#if:{{{1|}}} | ||
|mode={{{2|}}}|caption={{{3|}}}|perrow={{{4|}}}|widths={{{5|}}} | | {{#if:{{{9|}}}|<{{{9|}}}>}}<!-- | ||
|heights={{{6|}}}| | -->{{#if:{{{7|}}}|<span style="{{{7}}}">}}<!-- | ||
|{{# | -->{{#ifeq:{{{10|}}}|1 | ||
|mode={{{2|}}}|caption={{{3|}}}|perrow={{{4|}}}|widths={{{5|}}} | | {{#tag:gallery|{{{1|}}}|class={{#if: {{{8|}}} | {{#ifeq:{{{8|}}}|c || {{{8|}}} }} }}|mode={{{2|}}}|caption={{{3|}}}|perrow={{{4|}}}|widths={{{5|}}}|heights={{{6|}}}|showfilename=1}} | ||
|heights={{{6|}}}| | | {{#tag:gallery|{{{1|}}}|class={{#if: {{{8|}}} | {{#ifeq:{{{8|}}}|c || {{{8|}}} }} }}|mode={{{2|}}}|caption={{{3|}}}|perrow={{{4|}}}|widths={{{5|}}}|heights={{{6|}}}}} | ||
}}{{# | }}<!-- | ||
Subtemplate | -->{{#if:{{{7|}}}|</span>}}<!-- | ||
:Because the < | -->{{#if:{{{9|}}}|</{{{9|}}}>}} | ||
}}<!-- | |||
<!-- {{Heavily used template | -->{{#ifeq:{{{8|}}}|c|</div>}}<noinclude> | ||
[[Category: | Subtemplate of {{T|G|-|case=l}}, transcluded by the {{M|Galeria|module}}. | ||
; Parameters: | |||
# filenames (+ captions) <small>as a (linefeed/pipe separated) string</small> | |||
# mode | |||
# caption | |||
# perrow | |||
# width | |||
# height | |||
# style | |||
# class | |||
# text | |||
# showfilename option | |||
; Implementation note | |||
: ''Because the <code>gallery tag</code> does not support the suppression of the <code>showfilename</code> option, two transclusions of the gallery tag are necessary - one with, and the other one without <code>showfilename</code>.'' | |||
<!-- {{Heavily used template|Template talk:G}} --> | |||
[[Category:Subtemplates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 09:32, 20 February 2024
Subtemplate of template:{{G}}, transcluded by the module.
- Parameters
- filenames (+ captions) as a (linefeed/pipe separated) string
- mode
- caption
- perrow
- width
- height
- style
- class
- text
- showfilename option
- Implementation note
- Because the
gallery tagdoes not support the suppression of theshowfilenameoption, two transclusions of the gallery tag are necessary - one with, and the other one withoutshowfilename.