- 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: Difference between revisions
From Encyclopedia Dramatica
Jump to navigationJump to search
imported>MarioMario456 revert to old version |
imported>MarioMario456 No edit summary |
||
(28 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
</div>{{#if:{{{more_images|}}}|<center>{{{more_images}}}</center>|}}</includeonly><noinclude> | </div>{{#if:{{{more_images|}}}|<center>{{{more_images}}}</center>|}}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
This is the collapsing gallery template. See [[Encyclopedia Dramatica:Collapsing Objects]] for an explanation. | This is the collapsing gallery template. See [[Encyclopedia Dramatica:Collapsing Objects]] for an explanation. | ||
Syntax | Syntax: | ||
'''<pre>{{collapsegallery | 1=title | 2=id | 3=align | 4=<gallery> teaser </gallery> | 5=<gallery> expanded </gallery> | border | color}}</pre>''' | '''<pre>{{collapsegallery | 1=title | 2=id | 3=align | 4=<gallery> teaser </gallery> | 5=<gallery> expanded </gallery> | border | color}}</pre>''' | ||
Line 24: | Line 23: | ||
|- | |- | ||
!id | !id | ||
|unique id for collapse gallery (examples: cg1, cg2, etc.). ''[https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-id-attribute | |unique id for collapse gallery (examples: cg1, cg2, etc.). ''[https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-id-attribute IDs may not contain spaces or special characters].'' '''Do not put spaces/special characters in the ID.''' | ||
|- | |- | ||
!align | !align |