Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:G/layout: Difference between revisions

Template page
first version
 
mNo edit summary
 
(24 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|{{#if:{{{9|}}}|<small>}}{{#ifeq:{{{10|}}}|1
{{#ifeq:{{{8|}}}|c|<div class="center">}}<!--
|{{#tag:gallery|{{{1|}}}
-->{{#if:{{{1|}}}
|mode={{{2|}}}|caption={{{3|}}}|perrow={{{4|}}}|widths={{{5|}}}
| {{#if:{{{9|}}}|<{{{9|}}}>}}<!--
|heights={{{6|}}}|style={{{7|}}}|class={{{8|}}}|showfilename=1}}
  -->{{#if:{{{7|}}}|<span style="{{{7}}}">}}<!--
|{{#tag:gallery|{{{1|}}}
  -->{{#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|}}}|style={{{7|}}}|class={{{8|}}}}}
  | {{#tag:gallery|{{{1|}}}|class={{#if: {{{8|}}} | {{#ifeq:{{{8|}}}|c || {{{8|}}} }} }}|mode={{{2|}}}|caption={{{3|}}}|perrow={{{4|}}}|widths={{{5|}}}|heights={{{6|}}}}}
}}{{#if:{{{9|}}}|</small>}}}}<noinclude>
  }}<!--
  -->{{#if:{{{7|}}}|</span>}}<!--
  -->{{#if:{{{9|}}}|</{{{9|}}}>}}
}}<!--
-->{{#ifeq:{{{8|}}}|c|</div>}}<noinclude>
Subtemplate of {{T|G|-|case=l}}, transcluded by the {{M|Galeria|module}}.
; Parameters:
# filenames (+ captions) &nbsp; <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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.