Template:Gallery: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#tag:gallery|
<div class="{{{#if:{{{captionalign|}}}|gallerycaptionalign-{{{captionalign|}}}|}}">{{#tag:gallery|
{{#if:{{{ 1|}}}|File:{{{ 1|}}}{{!}}{{{ 2|}}}|}}
{{#if:{{{ 1|}}}|File:{{{ 1|}}}{{!}}{{{ 2|}}}|}}
{{#if:{{{ 3|}}}|File:{{{ 3|}}}{{!}}{{{ 4|}}}|}}
{{#if:{{{ 3|}}}|File:{{{ 3|}}}{{!}}{{{ 4|}}}|}}
Line 23: Line 23:
|mode={{{mode|traditional}}}
|mode={{{mode|traditional}}}
|position=center
|position=center
|captionalign=center
}}</div>
}}
</includeonly><noinclude>
</includeonly><noinclude>
Create standardized image gallery. Currently allows 20 images, but can be expanded to more.
Create standardized image gallery. Currently allows 20 images, but can be expanded to more.
Line 31: Line 30:
{{gallery
{{gallery
  | mode=
  | mode=
| captionalign=center
  | Interface_game_top_bar_-_indicator_hover_panel.jpg | Hover over an indicator
  | Interface_game_top_bar_-_indicator_hover_panel.jpg | Hover over an indicator
  | Internal_breach_area.JPG                          |
  | Internal_breach_area.JPG                          |
Line 39: Line 39:
* 1, 3, 5, 7..n: Filenames to include in the gallery
* 1, 3, 5, 7..n: Filenames to include in the gallery
* mode: gallery mode.
* mode: gallery mode.
* captionalign: how to align the caption of the gallery
</noinclude>
</noinclude>

Revision as of 15:24, 10 February 2021

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

Example:


Parameters:

  • 1, 3, 5, 7..n: Filenames to include in the gallery
  • mode: gallery mode.
  • captionalign: how to align the caption of the gallery