- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Collapsegallery
From Encyclopedia Dramatica
Usage
This is the collapsing gallery template. See Encyclopedia Dramatica:Collapsing Objects for an explanation.
{{collapsegallery | 1=title | 2=id | 3=align | 4=<gallery> teaser </gallery> | 5=<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 | teaser gallery |
5 | expanded 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:Popcorn3.gif </gallery>|<gallery> File:Popcorn4.gif </gallery>}} === Rounded === {{Collapsegallery|Hello, world!|cg2|center|<gallery> File:Popcorn2.gif </gallery>|<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 |