Difference between revisions of "Template:Cg"

From CWCki
Jump to navigation Jump to search
m
(Added to Broken Templates)
Line 23: Line 23:
</tr>
</tr>


</table><noinclude>{Usage|1=This is a fomatting template used to display a collapsible gallery of images. The format for using this template is as follows:<br />  
</table><noinclude>{{clear}}{Usage|1=This is a fomatting template used to display a collapsible gallery of images. The format for using this template is as follows:<br />  


'''<pre>{{Cg|1=Gallery|2=picturesofsonichus|3=center|4=[[File:Punchy.jpg]]|5=[[File:206-SonichuPose.jpg]]}}</pre>'''  
'''<pre>{{Cg|1=Gallery|2=picturesofsonichus|3=center|4=[[File:Punchy.jpg]]|5=[[File:206-SonichuPose.jpg]]}}</pre>'''  
Line 34: Line 34:
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.   
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.   


[[Category:Formatting and function templates|{{PAGENAME}}]]</noinclude>
[[Category:Formatting and function templates|{{PAGENAME}}]][[Category:Broken Templates|{{PAGENAME}}]]</noinclude>

Revision as of 22:38, 3 December 2010

{{{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.