Template:Br separated entries: Difference between revisions
Jump to navigation
Jump to search
old>Maltropia m (1 revision imported) |
m (Protected "Template:Br separated entries": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
(2 intermediate revisions by one other user not shown) | |
(No difference)
|
Latest revision as of 22:28, 17 June 2024
This template is used on 630,000+ 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. Transclusion count updated automatically (see documentation). |
Lua error in Module:Lua_banner at line 112: attempt to index field 'edit' (a nil value).
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 {{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; see the monthly parameter usage 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.
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}}
- {{plainlist}}
- {{flatlist}}
- {{pagelist}}
- {{multi-column numbered list}}
- {{unbulleted list}}
- Module:Br separated entries, the Lua module on which this template is based.