This template is used primarily in infoboxes to create a delimited collection of items, with up to three entries, only adding the tags where needed.
Note: For lists of items, without bullets, do not use this template, but use {{plainlist}} instead, for better accessibility.
{{br separated entries|entry1|entry2|entry3}}
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| | | }} |
For more than three entries, this template can be nested, although excessive nesting is discouraged due to template transclusion depth limits imposed by the server.
Code | Result |
---|---|
{{br separated entries|entry1|entry2|{{br separated entries|entry3|entry4|entry5}}}} | entry1 entry2 entry3 entry4 entry5 |
{{br separated entries|entry1|entry2|{{br separated entries|entry3|entry4|}}}} | entry1 entry2 entry3 entry4 |
{{br separated entries|entry1|entry2|{{br separated entries|entry3||entry5}}}} | entry1 entry2 entry3 entry5 |
{{br separated entries|entry1|entry2|{{br separated entries||entry4|entry5}}}} | entry1 entry2 entry4 entry5 |
{{br separated entries|entry1||{{br separated entries|entry3|entry4|entry5}}}} | entry1 entry3 entry4 entry5 |
{{br separated entries||entry2|{{br separated entries|entry3|entry4|entry5}}}} | entry2 entry3 entry4 entry5 |
The above documentation is transcluded from Templat:Br separated entries/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |