Difference between revisions of "Template:Cg"
Jump to navigation
Jump to search
(Added usage. Recategorized as an fomatting template.) |
Trombonista (talk | contribs) m |
||
Line 23: | Line 23: | ||
</tr> | </tr> | ||
</table><noinclude>{Usage|1=This is a fomatting template used to display a collapsible gallery of images. | </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 /> | ||
'''<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 30: | Line 30: | ||
- Displays:{{Cg|1=Gallery|2=picturesofsonichus|3=center|4=[[File:Punchy.jpg]]|5=[[File:206-SonichuPose.jpg]]}} | - Displays:{{Cg|1=Gallery|2=picturesofsonichus|3=center|4=[[File:Punchy.jpg]]|5=[[File:206-SonichuPose.jpg]]}} | ||
Unfortunately, it doesn't work. | 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. | 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}}]]</noinclude> |
Revision as of 17:16, 1 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 |
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.