Template:Gallery: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
(Created page with "<includeonly> <gallery> {{#if: {{{1|}}} | | }} </gallery> </onlyinclude><noinclude> Example: {{gallery | test.jpg | test.png }} Parameters: * 1...n: Filenames to include...")
 
No edit summary
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<gallery>
<div class="gallerycaptionalign-{{{captionalign|center}}}">{{#tag:gallery|
{{#if: {{{1|}}} | | }}
{{#if:{{{ 1|}}}|File:{{{ 1|}}}{{!}}{{{ 2|}}}|}}
</gallery>
{{#if:{{{ 3|}}}|File:{{{ 3|}}}{{!}}{{{ 4|}}}|}}
</onlyinclude><noinclude>
{{#if:{{{ 5|}}}|File:{{{ 5|}}}{{!}}{{{ 6|}}}|}}
{{#if:{{{ 7|}}}|File:{{{ 7|}}}{{!}}{{{ 8|}}}|}}
{{#if:{{{ 9|}}}|File:{{{ 9|}}}{{!}}{{{10|}}}|}}
{{#if:{{{11|}}}|File:{{{11|}}}{{!}}{{{12|}}}|}}
{{#if:{{{13|}}}|File:{{{13|}}}{{!}}{{{14|}}}|}}
{{#if:{{{15|}}}|File:{{{15|}}}{{!}}{{{16|}}}|}}
{{#if:{{{17|}}}|File:{{{17|}}}{{!}}{{{18|}}}|}}
{{#if:{{{19|}}}|File:{{{19|}}}{{!}}{{{20|}}}|}}
{{#if:{{{21|}}}|File:{{{21|}}}{{!}}{{{22|}}}|}}
{{#if:{{{23|}}}|File:{{{23|}}}{{!}}{{{24|}}}|}}
{{#if:{{{25|}}}|File:{{{25|}}}{{!}}{{{26|}}}|}}
{{#if:{{{27|}}}|File:{{{27|}}}{{!}}{{{28|}}}|}}
{{#if:{{{29|}}}|File:{{{29|}}}{{!}}{{{30|}}}|}}
{{#if:{{{31|}}}|File:{{{31|}}}{{!}}{{{32|}}}|}}
{{#if:{{{33|}}}|File:{{{33|}}}{{!}}{{{34|}}}|}}
{{#if:{{{35|}}}|File:{{{35|}}}{{!}}{{{36|}}}|}}
{{#if:{{{37|}}}|File:{{{37|}}}{{!}}{{{38|}}}|}}
{{#if:{{{39|}}}|File:{{{39|}}}{{!}}{{{40|}}}|}}
|mode={{{mode|traditional}}}
|widths={{{width|120px}}}
|position=center
}}</div>
</includeonly><noinclude>
Create standardized image gallery. Currently allows 20 images, but can be expanded to more.
 
Example:
Example:
{{gallery
{{gallery
  | test.jpg
  | mode=traditional
  | test.png
| Interface_game_top_bar_-_indicator_hover_panel.jpg | Hover over an indicator
  | Internal_breach_area.JPG                          |
| Internal_breach_area_3.JPG                        | Watch the breach and the water and all the flooding.
}}
}}


Parameters:
Parameters:
 
* 1, 3, 5, 7..n: Filenames of images to include in the gallery
* 1...n: Filenames to include in the gallery
* 2, 4, 6, 7..n: Accompanying captions for images
 
* mode: gallery mode.
 
* captionalign: how to align the caption of the gallery
</noinclude>
</noinclude>

Latest revision as of 12:57, 28 May 2021

Create standardized image gallery. Currently allows 20 images, but can be expanded to more.

Example:


Parameters:

  • 1, 3, 5, 7..n: Filenames of images to include in the gallery
  • 2, 4, 6, 7..n: Accompanying captions for images
  • mode: gallery mode.
  • captionalign: how to align the caption of the gallery