Template:Cg

From CWCki
Revision as of 14:56, 1 December 2010 by Dethchemist77 (talk | contribs) (Added usage. Recategorized as an fomatting template.)
Jump to navigation Jump to search
{{{1}}}
{{{4}}}
{{{5}}}

{Usage|1=This is a fomatting template used to display a collapsible gallery of images. The format for using this template is as follows:

{{Cg|1=Gallery|2=picturesofsonichus|3=center|4=[[File:Punchy.jpg]]|5=[[File:206-SonichuPose.jpg]]}}


- Displays:

Gallery
Punchy.jpg
206-SonichuPose.jpg

Unfortunately, it doesn't work. The above example should display the picture of Punchy with an option to show or hide the picture of Sonichu.

Normally, the template would be used with a gallery of a few images where Punchy would be, and a much larger galley where Sonichu would be. The idea here is to show a preview of the gallery without displaying the entire thing, which might be cumbersome if the gallery has a lot of images in it.