Template:ExpandBox/doc: Difference between revisions
Jump to navigation
Jump to search
(/doc version of ExpandBox template) |
(last edit summary should be: added 'nostarterlinebreak' and 'noendlinebreak' paramaters. Fixed this page's template syntax errors) |
||
Line 20: | Line 20: | ||
}} | }} | ||
|- | |- | ||
| <pre>{{ExpandBox | nostarterlinebreak=1 | noendlinebreak=1 | | <pre>{{ExpandBox | nostarterlinebreak=1 | noendlinebreak=1 | | ||
* Sample | * Sample | ||
* Enumeration | * Enumeration | ||
Line 26: | Line 26: | ||
* Hiding | * Hiding | ||
}}</pre> | }}</pre> | ||
| {{ExpandBox | nostarterlinebreak=1 | noendlinebreak = 1 | | {{ExpandBox | nostarterlinebreak=1 | noendlinebreak = 1 | | ||
* Sample | * Sample | ||
* Enumeration | * Enumeration | ||
Line 36: | Line 36: | ||
* Sample | * Sample | ||
* Enumeration | * Enumeration | ||
* | * Worth | ||
* Hiding | * Hiding | ||
}}</pre> | }}</pre> |
Revision as of 11:19, 27 April 2021

This is a documentation subpage for Template:ExpandBox.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
This template is intended for very long lists that aren't significant enough to warrant their own page, but also end up making pages ridiculously long. Works fine even if used multiple times on a page. (Also, won't interfere with TOCs.)
Wikitext | Result |
---|---|
{{ExpandBox | * Sample * Enumeration * Worth * Hiding }} |
|
{{ExpandBox | nostarterlinebreak=1 | noendlinebreak=1 | * Sample * Enumeration * Worth * Hiding }} |
|
{{ExpandBox | expandtext=Show | collapsetext=Hide | * Sample * Enumeration * Worth * Hiding }} |
|
{{ExpandBox | side=right | * Sample * Enumeration * Worth * Hiding }} |
|
{{ExpandBox | * Sample * Enumeration * Worth * Hiding | Example for an ExpandBox }} |
Example for an ExpandBox
|