Template:Br separated entries
Jump to navigation
Jump to search
This template is used on 1,670,000+ pages, or roughly 122434% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template is used primarily in infoboxes to create a <br />
delimited collection of items, only adding the <br />
tags where needed.
Note: For lists of items, without bullets, do not use this template, but use {{unbulleted list}} or {{plainlist}} instead, for better accessibility.
Usage[edit source]
{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}
Example[edit source]
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| | | }} |
|
{{br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} |
entry1 entry2 entry3 entry4 entry5 entry6 |
Template data[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Br separated entries in articles based on its TemplateData.
TemplateData for 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>
See also[edit source]
- {{comma separated entries}}
- {{space separated entries}}
- {{plainlist}}
- {{flatlist}}
- {{pagelist}}
- {{unbulleted list}}
- Module:separated entries, the Lua module on which this template is based.