Difference between revisions of "Template:Collapsible"

From CWCki
Jump to navigation Jump to search
(Added usage. Recategorized as an fomatting template.)
m
Line 3: Line 3:
|-
|-
| {{{2}}}
| {{{2}}}
|}<noinclude>{{Usage|1=This is a formatting template used to create collapsible boxes around content. This is especially useful for image galleries, navigation boxes, lists, and other sections that make a long article unwieldy.   
|}<noinclude>{{Usage|1=This is a formatting template used to create collapsible boxes around content. This is especially useful for image galleries, navigation boxes, lists, and other sections that make a long article unwieldy.   
   
   
The format for using this template is as follows:<br />  
The format for using this template is as follows:<br />  

Revision as of 18:17, 1 December 2010

Usage

These usage notes will not be included in articles bearing this template.

This is a formatting template used to create collapsible boxes around content. This is especially useful for image galleries, navigation boxes, lists, and other sections that make a long article unwieldy.

The format for using this template is as follows:

{{collapsible|title|content}}

-Displays:

As an example, the following box will contain a gallery of Chris's homemade Yu-Gi-Oh! cards.

{{collapsible
|Chris's homemade ''[[Yu-Gi-Oh!]]'' cards
|<gallery perrow="5">
Image:104-GirlfriendAttract.jpg|example caption
Image:105-LonesomeSelf.jpg
Image:106-FrustratedVirgin.jpg|another caption
Image:107-HookedOnSonichu2.jpg
Image:108-PlanForAttraction.jpg
Image:109-CWCSpellsCard.jpg
Image:138-CurseYeHaMeHa.jpg
Image:139-CWCsDarkGlare.jpg
Image:140-AJerk.jpg
Image:141-JerksLoiteringLot.jpg
Image:142-QuizGirlfriend.jpg
Image:143-MaryLeeWalsh.jpg
Image:145-ShatteredHeart.jpg
Image:146-Jerkop.jpg
</gallery>}}

-Displays: