Template:Collapsegallery: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>TabbyGarf
No edit summary
imported>TabbyGarf
No edit summary
Line 5: Line 5:
<div class="mw-collapsible-content">  
<div class="mw-collapsible-content">  
{| width="100%"
{| width="100%"
! style="background-color:white;" | {{{4|<gallery>
! style="background-color:white;" | {{{4}}}
File:Popcorn3.gif
File:Popcorn3.gif
File:Popcorn3.gif
File:Popcorn3.gif
</gallery>}}}
|}</div>
|}</div>
</div></center>
</div></center>

Revision as of 14:54, 7 January 2021

{{{1}}} About missing Pics
{{{4}}}

Usage

This is the collapsing gallery template. See Encyclopedia Dramatica:Collapsing Objects for an explanation.

{{collapsegallery | 1=title | 2=id | 3=align | 4=<gallery> expanded </gallery> | border | color}}

title
id unique id for collapse gallery (example:cg1, cg2, etc.)
align left, right or center, default is left.
4 gallery
border border color and have it be thicker with rounded edges. default is the traditional collapse gallery style.
color title color, default is white.

Example

=== Traditional (border isn't set) ===

{{Collapsegallery|Hello, world!|cg1|center|<gallery>
File:Popcorn4.gif
</gallery>}}

=== Rounded ===

{{Collapsegallery|Hello, world!|cg2|center|<gallery>
File:Popcorn4.gif
</gallery>|border=blue|color=cyan}}

Output

Traditional (border isn't set)

Hello, world! About missing Pics


Rounded

Hello, world! About missing Pics