The Gold Network: Soyworld | SNCApedia | SoyPlace

Template:CollapseGallery

From SNCApedia, the shit nobody cares about encyclopedia
Revision as of 17:27, 18 November 2025 by Sawoot (talk | contribs) (Created page with "<includeonly><div style="{{#if:{{{3|}}}|text-align:{{{3}}};}}"> <div style="display: inline-block; {{#if:{{{border|}}}|border:.5em solid {{{border}}}; border-radius:{{{radius|.9em}}}|border:1px solid #000;}};"> <!-- Header --> <div style="background-color:{{{border|#000}}}; color:{{{color|#fff}}}; text-align:left; padding:5px;"><span style="font-size:14pt;">{{{1}}}</span></div> <!-- Teaser -->{{{4}}} <!-- Collapsing Link --> <div class="collapsibletoggle" style="text-ali...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

Syntax:

{{collapsegallery | 1=title | 2=id | 3=align | 4=<gallery> teaser </gallery> | 5=<gallery> expanded </gallery> | border | color}}
title
id unique id for collapse gallery (examples: cg1, cg2, etc.). IDs may not contain spaces or special characters. Do not put spaces/special characters in the ID.
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.