Template:Seplist: Difference between revisions
Template page
More actions
Created page with "<templatestyles src="Seplist/styles.css" />{{#invoke:Seplist |makelist |sep=hr}}<noinclude> {{documentation}} </noinclude>" |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Seplist/styles.css" />{{#invoke:Seplist |makelist |sep=hr}}<noinclude> | <templatestyles src="Template:Seplist/styles.css" />{{#invoke:Seplist |makelist |sep=hr}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 04:56, 22 February 2025
This template uses TemplateStyles: |
Uses Lua: |
This template creates an arbitrary length unordered list with a class of "seplist" to allow a wrapper template to use templatestyles to style the list.
In addition, a parameter |sep=
may be supplied to insert a separator between each list item. It recognises |sep=hr
as the horizontal rule. This may find use in infoboxes where items may span multiple lines and be difficult to distinguish without a separator.
Examples
Template
{{seplist |Jack|Jill|John|Jane|sep=hr}}
→ - Jack
- Jill
- John
- Jane
Template in narrow column
- Eastern European Time
- Central Africa Time
- Israel time zone
- South African Standard Time
Module call
- Jack -
- Jill -
- John -
- Jane