Template:Br separated entries
This template is used on 33000+ pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on the talk page before implementing them. |
|
This template is used primarily in infoboxes to create a <br>
delimited collection of items, with up to three entries, only adding the <br>
tags where needed.
Note: For lists of items, without bullets, do not use this template, but use {{plainlist}} instead, for better accessibility.
Usage
{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}
Example
Code | Result |
---|---|
{{br separated entries|entry1|entry2|entry3}} |
entry1 entry2 entry3 |
{{br separated entries| |entry2|entry3}} |
entry2 entry3 |
{{br separated entries|entry1| |entry3}} |
entry1 entry3 |
{{br separated entries|entry1|entry2| }} |
entry1 entry2 |
{{br separated entries|entry1| | }} |
entry1 |
{{br separated entries| |entry2| }} |
entry2 |
{{br separated entries| | |entry3}}} |
entry3 |
{{br separated entries| | | }}} |
Template data
This is the TemplateData documentation for the template used by the new VisualEditor.
Br separated entries
<templatedata>{
"description": "Creates a
delimited collection of items. Primarily for use in infoboxes, it only adds the
tags where needed. ",
"params": {
"1": { "label": "First item", "description": "First item, may be null", "type": "string", "required": false }, "2": { "label": "Second item", "description": "Second item, many more items can be added", "type": "string", "required": false }
}}</templatedata>
Related pages
- {{comma separated entries}}
- {{space separated entries}}
- {{plainlist}}
- {{flatlist}}
- {{pagelist}}
- {{multi-column numbered list}}
- {{unbulleted list}}
- Module:separated entries, the Lua module on which this template is based.
The above documentation is transcluded from Template:Br separated entries/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |