Template:Br separated entries/doc: Difference between revisions
NARA>Neveselbert (cr.) |
m (1 revision imported) |
Latest revision as of 19:32, 19 April 2023
File:OOjs UI icon book-ltr.svg | This is a documentation subpage for Template:Br separated entries. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
File:OOjs UI icon alert-warning.svg | This template is used on approximately 630,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. 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, 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
{{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| | | }} |
|
{{br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} |
entry1 entry2 entry3 entry4 entry5 entry6 |
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Br separated entries
[[Category:TemplateData documentation{{#translation:}}]]
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 |
See also
- {{comma separated entries}}
- {{space separated entries}}
- {{plainlist}}
- {{flatlist}}
- {{pagelist}}
- {{unbulleted list}}
- Module:separated entries, the Lua module on which this template is based.