Template:Collapsible
Jump to navigation
Jump to search
{{{1}}} |
---|
{{{2}}} |
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:
title |
---|
content |
You can have the table expanded by default, by setting “state” to “expanded”.
{{collapsible|state=expanded|title|content}}
-Displays:
title |
---|
content |
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:
Chris's homemade Yu-Gi-Oh! cards |
---|
|