Infoboxes are being rewritten. You might see images or tabs broken or behaving weirdly during the move. Infoboxes use galleries instead of tabbers now. See the source of Broot for more info.
This page is "edit" protected. The "autoconfirmed" right is required to "edit" this page.<ul class='mw-logevent-loglines'>
<li data-mw-logid="64657" data-mw-logaction="protect/protect" class="mw-logline-protect"> <a href="/index.php?title=Special:Log&logid=64657" title="Special:Log">15:18, 11 December 2024</a> <a href="/User:Coalson" class="mw-userlink" title="User:Coalson"><bdi>Coalson</bdi></a> <span class="mw-usertoollinks mw-changeslist-links"><span><a href="/User_talk:Coalson" class="mw-usertoollinks-talk" title="User talk:Coalson">talk</a></span> <span><a href="/Special:Contributions/Coalson" class="mw-usertoollinks-contribs" title="Special:Contributions/Coalson">contribs</a></span></span> protected <a href="/Template:Collapsegallery" title="Template:Collapsegallery">Template:Collapsegallery</a> [Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite) <span class="mw-logevent-actionlink">(<a href="/index.php?title=Template:Collapsegallery&action=history&offset=20241211151826" title="Template:Collapsegallery">hist</a>)</span> </li>
</ul></ul>
This page is "move" protected. The "autoconfirmed" right is required to "move" this page.<ul class='mw-logevent-loglines'>
<li data-mw-logid="64657" data-mw-logaction="protect/protect" class="mw-logline-protect"> <a href="/index.php?title=Special:Log&logid=64657" title="Special:Log">15:18, 11 December 2024</a> <a href="/User:Coalson" class="mw-userlink" title="User:Coalson"><bdi>Coalson</bdi></a> <span class="mw-usertoollinks mw-changeslist-links"><span><a href="/User_talk:Coalson" class="mw-usertoollinks-talk" title="User talk:Coalson">talk</a></span> <span><a href="/Special:Contributions/Coalson" class="mw-usertoollinks-contribs" title="Special:Contributions/Coalson">contribs</a></span></span> protected <a href="/Template:Collapsegallery" title="Template:Collapsegallery">Template:Collapsegallery</a> [Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite) <span class="mw-logevent-actionlink">(<a href="/index.php?title=Template:Collapsegallery&action=history&offset=20241211151826" title="Template:Collapsegallery">hist</a>)</span> </li>
</ul></ul>
Template:Collapsegallery
From Soyjak Wiki, the free ensoyclopedia
(Redirected from Template:Cg)
Jump to navigationJump to search
Usage
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.
|
Example
This:
; Traditional (border isn't set):
{{Collapsegallery|Hello, world!|cg1|center|<gallery>
File:
</gallery>|<gallery>
File:Soot.png
</gallery>}}
; Rounded:
{{Collapsegallery|Hello, world!|cg2|center|<gallery>
File:Soot.png
</gallery>|<gallery>
File:Soot.png
</gallery>|border=blue|color=cyan}}
results in this:
- Traditional (border isn't set)
Hello, world!
[Collapse GalleryExpand Gallery]
- Rounded
Hello, world!
[Collapse GalleryExpand Gallery]