الگو:Seplist/doc: تفاوت میان نسخهها
fa>Wikivahdat (add cat) |
(بدون تفاوت)
|
نسخهٔ ۱۴ دسامبر ۲۰۲۰، ساعت ۲۱:۲۷
پرونده:Edit-copy green.svg | This is a documentation subpage for الگو:Seplist. It contains usage information, categories and other content that is not part of the original الگو page. |
خطای لوآ در پودمان:TNT در خط 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
پرونده:Lua-Logo.svg | This template 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