This template creates a
List
with room for up to 50 items using a code-like styling including monospace font.
Parameters
- Unnamed
These range from 1–50 and don't require a parameter name. For instance {{collapsible list|one|two|three}} will result in:
List
onetwothree
- Named parameters
These parameters are all technically optional, but it is suggested that you at least give the title parameter.
- title: The title of the list. Default is "List".
- expand: Putting something here will make the list expanded on page load. Default is collapsed.
Examples
- Standalone template
{{collapsible list code style |one |two |three |title=Example list |expand=yes }}
Example list
onetwothree
- Within another element
{{collapsible list code style|one|two|three}}
Example table |
---|
List
onetwothree
|