Editing
Template:Collapsible list/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== TemplateData == {{TemplateDataHeader}} <templatedata> { "params": { "1": { "label": "First list item", "description": "A single list item", "type": "content", "suggested": true }, "2": { "label": "Second list item", "description": "A single list item", "type": "content", "suggested": true }, "3": { "label": "Third list item", "description": "A single list item", "type": "content", "suggested": true }, "4": { "label": "Fourth list item", "description": "A single list item", "type": "content" }, "5": { "type": "content" }, "6": { "type": "content" }, "7": { "type": "content" }, "8": { "type": "content" }, "9": { "type": "content" }, "10": { "type": "content" }, "expand": { "label": "Expand list", "description": "Expand the list instead of collapsing it", "example": "true", "type": "string", "autovalue": "true" }, "framestyle": { "aliases": [ "frame_style" ], "label": "Frame style", "description": "Custom CSS styling applied the template overall (title and list).", "example": "border: 1px;", "type": "string" }, "titlestyle": { "aliases": [ "title_style" ], "label": "Title style", "description": "CSS styling applied to the title", "example": "color:brown;", "type": "string" }, "title": { "label": "Title", "description": "The list's title (Always in view beside the list's [show/hide] link).", "type": "string", "suggested": true }, "liststyle": { "aliases": [ "list_style" ], "label": "List style", "description": "CSS styling applied solely to the list itself", "example": "list-style-type: square;", "type": "string" }, "hlist": { "label": "Horizontal list", "description": "Use value 'on' or 'true' to produce a horizontal rather than vertical list", "example": "true", "type": "string", "autovalue": "true" }, "bullets": { "label": "Bullets", "description": "Set as 'on' or 'true' to place a bullet point before each list item", "example": "true", "type": "string", "autovalue": "true" } }, "description": "Produces an HTML list that can be collapsed", "paramOrder": [ "title", "hlist", "bullets", "expand", "1", "framestyle", "titlestyle", "liststyle", "2", "3", "4", "5", "6", "7", "8", "9", "10" ], "format": "block" } </templatedata> <includeonly>{{Sandbox other|| [[Category:Collapse templates]] [[Category:List formatting and function templates]] }}</includeonly>
Summary:
Please note that all contributions to Meta Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Dark mode
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
View history
More
Purge
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
Get shortened URL