Template:Collapsible

From PathfinderWiki
Template documentation (for the above template, sometimes hidden or invisible)
Subpages of this template:

{{Collapsible}} encloses text in a collapsible section.

Usage

{{Collapsible
| class   = 
| style   = 
| intro   = 
| content = 
}}
class and style (optional)
A CSS class and CSS styles, respectively, to apply to the section.
intro (optional)
Content that should be visible regardless of whether the section is collapsed.
content
The content to be exposed when expanded.

Examples

{{Collapsible
| content = Humans are the most numerous civilized race of Golarion with a variety of ethnicities, and a stake in virtually every corner of the world. Known for their adaptability and versatility, humans have throughout history been behind many of the largest and most prosperous of nations.
}}

results in:

Humans are the most numerous civilized race of Golarion with a variety of ethnicities, and a stake in virtually every corner of the world. Known for their adaptability and versatility, humans have throughout history been behind many of the largest and most prosperous of nations.


{{Collapsible
| intro   = '''Details about humans:'''
| content = Humans are the most numerous civilized race of Golarion with a variety of ethnicities, and a stake in virtually every corner of the world. Known for their adaptability and versatility, humans have throughout history been behind many of the largest and most prosperous of nations.
}}

Details about humans:

Humans are the most numerous civilized race of Golarion with a variety of ethnicities, and a stake in virtually every corner of the world. Known for their adaptability and versatility, humans have throughout history been behind many of the largest and most prosperous of nations.


{{Collapsible
| style   = background-color: beige; padding: 1em; border: 1px solid DarkGray;
| intro   = '''Details about humans:'''
| content = Humans are the most numerous civilized race of Golarion with a variety of ethnicities, and a stake in virtually every corner of the world. Known for their adaptability and versatility, humans have throughout history been behind many of the largest and most prosperous of nations.
}}

Details about humans:

Humans are the most numerous civilized race of Golarion with a variety of ethnicities, and a stake in virtually every corner of the world. Known for their adaptability and versatility, humans have throughout history been behind many of the largest and most prosperous of nations.