Template:Br separated entries

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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[change source]

{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}

Example[change 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| | | }}}

Template data[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

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.

Template parameters

Parameter Description Type Status
First item 1

First item, may be null

Default
empty
Example
empty
Auto value
empty
String optional
Second item 2

Second item, many more items can be added

Default
empty
Example
empty
Auto value
empty
String optional

Related pages[change source]