Template:Gallery/doc

From Tower Defense Simulator Wiki
Jump to navigation Jump to search

Description

[edit]

This template is used to add gallery toggles to gallery sections.

Usage & Syntax

[edit]
{{Gallery|Open = <Yes/No>|
<Galleries>
}}

As this toggle is closed by default, the Open parameter needs to be set to "Yes" for it to be open by default on the page. Otherwise, if set to nothing or anything else, it will be closed. Next parameter is the content of the gallery.

Examples

[edit]
[edit]
{{Gallery|
{{GalleryHeader|Thumbnails}}
<gallery>
NEWGAMEMODETHUMBNAIL.png|'''Ghoul''' on the game thumbnail.
</gallery>

{{GalleryHeader|Promotional Videos}}
<gallery>
Patient Zero Trailer (OUT NOW!) Tower Defense Simulator|'''Ghoul''' in a promotional video.
</gallery>

{{GalleryHeader|Development Images}}
<gallery>
GhoulWalkDG.gif|'''Ghoul''' on a development gif.
</gallery>
}}

Thumbnails

Promotional Videos

Development Images

[edit]
{{Gallery|Open = Yes|
{{GalleryHeader|Icons}}
<gallery>
CUpdateIcon1.png
</gallery>

{{GalleryHeader|Thumbnails}}
<gallery>
NEWGAMEMODETHUMBNAIL.png
</gallery>
}}

See Also

[edit]