Template:Br separated entries
(Redirected from Template:Br-separated entries)
This template is used on 44,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. 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, 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 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
Creates a <br /> delimited collection of items. Primarily for use in infoboxes, it only adds the <br /> tags where needed.
Parameter | Description | Type | Status | |
---|---|---|---|---|
First item | 1 | First item, may be null | String | optional |
Second item | 2 | Second item, many more items can be added | String | optional |
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.