Template:Master Template Tools

Usage
Place the following at the end of a page:

The default behavior is for the entire template to remain collapsed.

To show all sub-sections in collapsed form, use this:

To cause one or more sub-sections to appear expanded by default, add one of the following ("show-main = yes" must also be set) :

For example, to show the "Summoning Tools" section expanded, use this: